Interface CreateAccountResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<CreateAccountResponse.Builder,CreateAccountResponse>,SdkBuilder<CreateAccountResponse.Builder,CreateAccountResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateAccountResponse
public static interface CreateAccountResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<CreateAccountResponse.Builder,CreateAccountResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateAccountResponse.Builderaccount(Consumer<Account.Builder> account)The Amazon Chime account details.CreateAccountResponse.Builderaccount(Account account)The Amazon Chime account details.-
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
account
CreateAccountResponse.Builder account(Account account)
The Amazon Chime account details.
- Parameters:
account- The Amazon Chime account details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
default CreateAccountResponse.Builder account(Consumer<Account.Builder> account)
The Amazon Chime account details.
This is a convenience method that creates an instance of theAccount.Builderavoiding the need to create one manually viaAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccount(Account).- Parameters:
account- a consumer that will call methods onAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
account(Account)
-
-