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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubjectDetail.Builder
createdAt(Instant createdAt)
The ISO-8601 timestamp when the subject was created.SubjectDetail.Builder
credentials(Collection<CredentialSummary> credentials)
The temporary session credentials vended at the last authenticating call with this subject.SubjectDetail.Builder
credentials(Consumer<CredentialSummary.Builder>... credentials)
The temporary session credentials vended at the last authenticating call with this subject.SubjectDetail.Builder
credentials(CredentialSummary... credentials)
The temporary session credentials vended at the last authenticating call with this subject.SubjectDetail.Builder
enabled(Boolean enabled)
The enabled status of the subject.SubjectDetail.Builder
instanceProperties(Collection<InstanceProperty> instanceProperties)
The specified instance properties associated with the request.SubjectDetail.Builder
instanceProperties(Consumer<InstanceProperty.Builder>... instanceProperties)
The specified instance properties associated with the request.SubjectDetail.Builder
instanceProperties(InstanceProperty... instanceProperties)
The specified instance properties associated with the request.SubjectDetail.Builder
lastSeenAt(Instant lastSeenAt)
The ISO-8601 timestamp of the last time this subject requested temporary session credentials.SubjectDetail.Builder
subjectArn(String subjectArn)
The ARN of the resource.SubjectDetail.Builder
subjectId(String subjectId)
The id of the resourceSubjectDetail.Builder
updatedAt(Instant updatedAt)
The ISO-8601 timestamp when the subject was last updated.SubjectDetail.Builder
x509Subject(String x509Subject)
The x509 principal identifier of the authenticating certificate.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
SubjectDetail.Builder credentials(Collection<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
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
SubjectDetail.Builder credentials(Consumer<CredentialSummary.Builder>... credentials)
The temporary session credentials vended at the last authenticating call with this subject.
This is a convenience method that creates an instance of theCredentialSummary.Builder
avoiding the need to create one manually viaCredentialSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#credentials(List
.) - Parameters:
credentials
- a consumer that will call methods onCredentialSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#credentials(java.util.Collection
)
-
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 theInstanceProperty.Builder
avoiding the need to create one manually viaInstanceProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#instanceProperties(List
.) - Parameters:
instanceProperties
- a consumer that will call methods onInstanceProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceProperties(java.util.Collection
)
-
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.
-
-