Interface InstanceUserSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceUserSummary.Builder,,InstanceUserSummary> SdkBuilder<InstanceUserSummary.Builder,,InstanceUserSummary> SdkPojo
- Enclosing class:
InstanceUserSummary
public static interface InstanceUserSummary.Builder
extends SdkPojo, CopyableBuilder<InstanceUserSummary.Builder,InstanceUserSummary>
-
Method Summary
Modifier and TypeMethodDescriptionassociationDate(String associationDate) The date a user was associated with an EC2 instance.disassociationDate(String disassociationDate) The date a user was disassociated from an EC2 instance.The domain name of the user.default InstanceUserSummary.BuilderidentityProvider(Consumer<IdentityProvider.Builder> identityProvider) An object that specifies details for the identity provider.identityProvider(IdentityProvider identityProvider) An object that specifies details for the identity provider.instanceId(String instanceId) The ID of the EC2 instance, which provides user-based subscriptions.The status of a user associated with an EC2 instance.statusMessage(String statusMessage) The status message for users of an EC2 instance.The user name from the identity provider for the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
associationDate
The date a user was associated with an EC2 instance.
- Parameters:
associationDate- The date a user was associated with an EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disassociationDate
The date a user was disassociated from an EC2 instance.
- Parameters:
disassociationDate- The date a user was disassociated from an EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The domain name of the user.
- Parameters:
domain- The domain name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
An object that specifies details for the identity provider.
- Parameters:
identityProvider- An object that specifies details for the identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
default InstanceUserSummary.Builder identityProvider(Consumer<IdentityProvider.Builder> identityProvider) An object that specifies details for the identity provider.
This is a convenience method that creates an instance of theIdentityProvider.Builderavoiding the need to create one manually viaIdentityProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityProvider(IdentityProvider).- Parameters:
identityProvider- a consumer that will call methods onIdentityProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceId
The ID of the EC2 instance, which provides user-based subscriptions.
- Parameters:
instanceId- The ID of the EC2 instance, which provides user-based subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of a user associated with an EC2 instance.
- Parameters:
status- The status of a user associated with an EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
The status message for users of an EC2 instance.
- Parameters:
statusMessage- The status message for users of an EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The user name from the identity provider for the user.
- Parameters:
username- The user name from the identity provider for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-