Interface UpdateAccountConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateAccountConfigurationResponse.Builder,
,UpdateAccountConfigurationResponse> MediaLiveResponse.Builder
,SdkBuilder<UpdateAccountConfigurationResponse.Builder,
,UpdateAccountConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateAccountConfigurationResponse
@Mutable
@NotThreadSafe
public static interface UpdateAccountConfigurationResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<UpdateAccountConfigurationResponse.Builder,UpdateAccountConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountConfiguration
(Consumer<AccountConfiguration.Builder> accountConfiguration) Sets the value of the AccountConfiguration property for this object.accountConfiguration
(AccountConfiguration accountConfiguration) Sets the value of the AccountConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountConfiguration
UpdateAccountConfigurationResponse.Builder accountConfiguration(AccountConfiguration accountConfiguration) Sets the value of the AccountConfiguration property for this object.- Parameters:
accountConfiguration
- The new value for the AccountConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountConfiguration
default UpdateAccountConfigurationResponse.Builder accountConfiguration(Consumer<AccountConfiguration.Builder> accountConfiguration) Sets the value of the AccountConfiguration property for this object. This is a convenience method that creates an instance of theAccountConfiguration.Builder
avoiding the need to create one manually viaAccountConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountConfiguration(AccountConfiguration)
.- Parameters:
accountConfiguration
- a consumer that will call methods onAccountConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-