Interface ServiceRevisionOverrides.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceRevisionOverrides.Builder,,ServiceRevisionOverrides> SdkBuilder<ServiceRevisionOverrides.Builder,,ServiceRevisionOverrides> SdkPojo
- Enclosing class:
ServiceRevisionOverrides
@Mutable
@NotThreadSafe
public static interface ServiceRevisionOverrides.Builder
extends SdkPojo, CopyableBuilder<ServiceRevisionOverrides.Builder,ServiceRevisionOverrides>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceRevisionOverrides.BuilderruntimePlatform(Consumer<RuntimePlatformOverride.Builder> runtimePlatform) The runtime platform override that Amazon ECS automatically applies to the service revision.runtimePlatform(RuntimePlatformOverride runtimePlatform) The runtime platform override that Amazon ECS automatically applies to the service revision.Methods 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, sdkFields
-
Method Details
-
runtimePlatform
The runtime platform override that Amazon ECS automatically applies to the service revision. You can't set this value.
- Parameters:
runtimePlatform- The runtime platform override that Amazon ECS automatically applies to the service revision. You can't set this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimePlatform
default ServiceRevisionOverrides.Builder runtimePlatform(Consumer<RuntimePlatformOverride.Builder> runtimePlatform) The runtime platform override that Amazon ECS automatically applies to the service revision. You can't set this value.
This is a convenience method that creates an instance of theRuntimePlatformOverride.Builderavoiding the need to create one manually viaRuntimePlatformOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntimePlatform(RuntimePlatformOverride).- Parameters:
runtimePlatform- a consumer that will call methods onRuntimePlatformOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-