public ServiceLastAccessed withTrackedActionsLastAccessed(java.util.Collection<TrackedActionLastAccessed> trackedActionsLastAccessed) {
        setTrackedActionsLastAccessed(trackedActionsLastAccessed);
        return this;
    }
<p>
An object that contains details about the most recent attempt to access a tracked action within the service.
</p>
<p>
This field is null if there no tracked actions or if the principal did not use the tracked actions within the <a
href=
"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period"
>tracking period</a>. This field is also null if the report was generated at the service level and not the action
level. For more information, see the <code>Granularity</code> field in <a>GenerateServiceLastAccessedDetails</a>.
</p>

@param trackedActionsLastAccessed
       An object that contains details about the most recent attempt to access a tracked action within the
       service.</p>
       <p>
       This field is null if there no tracked actions or if the principal did not use the tracked actions within
       the <a href=
       "https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period"
       >tracking period</a>. This field is also null if the report was generated at the service level and not the
       action level. For more information, see the <code>Granularity</code> field in
       <a>GenerateServiceLastAccessedDetails</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ServiceLastAccessed.java