Interface GetServiceLastAccessedDetailsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetServiceLastAccessedDetailsResponse.Builder,GetServiceLastAccessedDetailsResponse>, IamResponse.Builder, SdkBuilder<GetServiceLastAccessedDetailsResponse.Builder,GetServiceLastAccessedDetailsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetServiceLastAccessedDetailsResponse

public static interface GetServiceLastAccessedDetailsResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetServiceLastAccessedDetailsResponse.Builder,GetServiceLastAccessedDetailsResponse>
  • Method Details

    • jobStatus

      The status of the job.

      Parameters:
      jobStatus - The status of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobStatus

      The status of the job.

      Parameters:
      jobStatus - The status of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobType

      The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.

      Parameters:
      jobType - The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobType

      The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.

      Parameters:
      jobType - The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobCreationDate

      GetServiceLastAccessedDetailsResponse.Builder jobCreationDate(Instant jobCreationDate)

      The date and time, in ISO 8601 date-time format, when the report job was created.

      Parameters:
      jobCreationDate - The date and time, in ISO 8601 date-time format, when the report job was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • servicesLastAccessed

      ServiceLastAccessed object that contains details about the most recent attempt to access the service.

      Parameters:
      servicesLastAccessed - A ServiceLastAccessed object that contains details about the most recent attempt to access the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • servicesLastAccessed

      GetServiceLastAccessedDetailsResponse.Builder servicesLastAccessed(ServiceLastAccessed... servicesLastAccessed)

      ServiceLastAccessed object that contains details about the most recent attempt to access the service.

      Parameters:
      servicesLastAccessed - A ServiceLastAccessed object that contains details about the most recent attempt to access the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • servicesLastAccessed

      ServiceLastAccessed object that contains details about the most recent attempt to access the service.

      This is a convenience method that creates an instance of the ServiceLastAccessed.Builder avoiding the need to create one manually via ServiceLastAccessed.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to servicesLastAccessed(List<ServiceLastAccessed>).

      Parameters:
      servicesLastAccessed - a consumer that will call methods on ServiceLastAccessed.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobCompletionDate

      GetServiceLastAccessedDetailsResponse.Builder jobCompletionDate(Instant jobCompletionDate)

      The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.

      This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.

      Parameters:
      jobCompletionDate - The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.

      This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isTruncated

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

      Parameters:
      isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marker

      When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

      Parameters:
      marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      An object that contains details about the reason the operation failed.

      Parameters:
      error - An object that contains details about the reason the operation failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      An object that contains details about the reason the operation failed.

      This is a convenience method that creates an instance of the ErrorDetails.Builder avoiding the need to create one manually via ErrorDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to error(ErrorDetails).

      Parameters:
      error - a consumer that will call methods on ErrorDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: