Interface AppInstanceAdmin.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AppInstanceAdmin.Builder,
,AppInstanceAdmin> SdkBuilder<AppInstanceAdmin.Builder,
,AppInstanceAdmin> SdkPojo
- Enclosing class:
AppInstanceAdmin
public static interface AppInstanceAdmin.Builder
extends SdkPojo, CopyableBuilder<AppInstanceAdmin.Builder,AppInstanceAdmin>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AppInstanceAdmin.Builder
admin
(Consumer<Identity.Builder> admin) TheAppInstanceAdmin
data.TheAppInstanceAdmin
data.appInstanceArn
(String appInstanceArn) The ARN of theAppInstance
for which the user is an administrator.createdTimestamp
(Instant createdTimestamp) The time at which an administrator was created.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 Details
-
admin
The
AppInstanceAdmin
data.- Parameters:
admin
- TheAppInstanceAdmin
data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
admin
The
This is a convenience method that creates an instance of theAppInstanceAdmin
data.Identity.Builder
avoiding the need to create one manually viaIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadmin(Identity)
.- Parameters:
admin
- a consumer that will call methods onIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appInstanceArn
The ARN of the
AppInstance
for which the user is an administrator.- Parameters:
appInstanceArn
- The ARN of theAppInstance
for which the user is an administrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
The time at which an administrator was created.
- Parameters:
createdTimestamp
- The time at which an administrator was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-