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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InstanceUserSummary.BuilderassociationDate(String associationDate)The date a user was associated with an EC2 instance.InstanceUserSummary.BuilderdisassociationDate(String disassociationDate)The date a user was disassociated from an EC2 instance.InstanceUserSummary.Builderdomain(String domain)The domain name of the user.default InstanceUserSummary.BuilderidentityProvider(Consumer<IdentityProvider.Builder> identityProvider)An object that specifies details for the identity provider.InstanceUserSummary.BuilderidentityProvider(IdentityProvider identityProvider)An object that specifies details for the identity provider.InstanceUserSummary.BuilderinstanceId(String instanceId)The ID of the EC2 instance, which provides user-based subscriptions.InstanceUserSummary.Builderstatus(String status)The status of a user associated with an EC2 instance.InstanceUserSummary.BuilderstatusMessage(String statusMessage)The status message for users of an EC2 instance.InstanceUserSummary.Builderusername(String username)The user name from the identity provider for the user.-
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
-
associationDate
InstanceUserSummary.Builder associationDate(String 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
InstanceUserSummary.Builder disassociationDate(String 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
InstanceUserSummary.Builder domain(String 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
InstanceUserSummary.Builder identityProvider(IdentityProvider 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:
identityProvider(IdentityProvider)
-
instanceId
InstanceUserSummary.Builder instanceId(String 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
InstanceUserSummary.Builder status(String 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
InstanceUserSummary.Builder statusMessage(String 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
InstanceUserSummary.Builder username(String 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.
-
-