Interface CreateAppInstanceAdminResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<CreateAppInstanceAdminResponse.Builder,,CreateAppInstanceAdminResponse> SdkBuilder<CreateAppInstanceAdminResponse.Builder,,CreateAppInstanceAdminResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAppInstanceAdminResponse
public static interface CreateAppInstanceAdminResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<CreateAppInstanceAdminResponse.Builder,CreateAppInstanceAdminResponse>
-
Method Summary
Modifier and TypeMethodDescriptionappInstanceAdmin(Consumer<Identity.Builder> appInstanceAdmin) The name and ARN of the admin for theAppInstance.appInstanceAdmin(Identity appInstanceAdmin) The name and ARN of the admin for theAppInstance.appInstanceArn(String appInstanceArn) The ARN of the of the admin for theAppInstance.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
appInstanceAdmin
The name and ARN of the admin for the
AppInstance.- Parameters:
appInstanceAdmin- The name and ARN of the admin for theAppInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appInstanceAdmin
default CreateAppInstanceAdminResponse.Builder appInstanceAdmin(Consumer<Identity.Builder> appInstanceAdmin) The name and ARN of the admin for the
This is a convenience method that creates an instance of theAppInstance.Identity.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappInstanceAdmin(Identity).- Parameters:
appInstanceAdmin- 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 of the admin for the
AppInstance.- Parameters:
appInstanceArn- The ARN of the of the admin for theAppInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-