Interface UpdateAdConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAdConfigurationResponse.Builder,,UpdateAdConfigurationResponse> IvsResponse.Builder,SdkBuilder<UpdateAdConfigurationResponse.Builder,,UpdateAdConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAdConfigurationResponse
@Mutable
@NotThreadSafe
public static interface UpdateAdConfigurationResponse.Builder
extends IvsResponse.Builder, SdkPojo, CopyableBuilder<UpdateAdConfigurationResponse.Builder,UpdateAdConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadConfiguration(Consumer<AdConfiguration.Builder> adConfiguration) Object specifying the updated ad configuration.adConfiguration(AdConfiguration adConfiguration) Object specifying the updated ad configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
adConfiguration
Object specifying the updated ad configuration.
- Parameters:
adConfiguration- Object specifying the updated ad configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adConfiguration
default UpdateAdConfigurationResponse.Builder adConfiguration(Consumer<AdConfiguration.Builder> adConfiguration) Object specifying the updated ad configuration.
This is a convenience method that creates an instance of theAdConfiguration.Builderavoiding the need to create one manually viaAdConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadConfiguration(AdConfiguration).- Parameters:
adConfiguration- a consumer that will call methods onAdConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-