Interface SubjectDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SubjectDetail.Builder,SubjectDetail>, SdkBuilder<SubjectDetail.Builder,SubjectDetail>, SdkPojo
Enclosing class:
SubjectDetail

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

    • createdAt

      SubjectDetail.Builder createdAt(Instant createdAt)

      The ISO-8601 timestamp when the subject was created.

      Parameters:
      createdAt - The ISO-8601 timestamp when the subject was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentials

      The temporary session credentials vended at the last authenticating call with this subject.

      Parameters:
      credentials - The temporary session credentials vended at the last authenticating call with this subject.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentials

      SubjectDetail.Builder credentials(CredentialSummary... credentials)

      The temporary session credentials vended at the last authenticating call with this subject.

      Parameters:
      credentials - The temporary session credentials vended at the last authenticating call with this subject.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentials

      The temporary session credentials vended at the last authenticating call with this subject.

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

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

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

      SubjectDetail.Builder enabled(Boolean enabled)

      The enabled status of the subject.

      Parameters:
      enabled - The enabled status of the subject.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceProperties

      SubjectDetail.Builder instanceProperties(Collection<InstanceProperty> instanceProperties)

      The specified instance properties associated with the request.

      Parameters:
      instanceProperties - The specified instance properties associated with the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceProperties

      SubjectDetail.Builder instanceProperties(InstanceProperty... instanceProperties)

      The specified instance properties associated with the request.

      Parameters:
      instanceProperties - The specified instance properties associated with the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceProperties

      SubjectDetail.Builder instanceProperties(Consumer<InstanceProperty.Builder>... instanceProperties)

      The specified instance properties associated with the request.

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

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

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

      SubjectDetail.Builder lastSeenAt(Instant lastSeenAt)

      The ISO-8601 timestamp of the last time this subject requested temporary session credentials.

      Parameters:
      lastSeenAt - The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subjectArn

      SubjectDetail.Builder subjectArn(String subjectArn)

      The ARN of the resource.

      Parameters:
      subjectArn - The ARN of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subjectId

      SubjectDetail.Builder subjectId(String subjectId)

      The id of the resource

      Parameters:
      subjectId - The id of the resource
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      SubjectDetail.Builder updatedAt(Instant updatedAt)

      The ISO-8601 timestamp when the subject was last updated.

      Parameters:
      updatedAt - The ISO-8601 timestamp when the subject was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • x509Subject

      SubjectDetail.Builder x509Subject(String x509Subject)

      The x509 principal identifier of the authenticating certificate.

      Parameters:
      x509Subject - The x509 principal identifier of the authenticating certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.