Interface Rollback.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Rollback.Builder,Rollback>,SdkBuilder<Rollback.Builder,Rollback>,SdkPojo
- Enclosing class:
- Rollback
public static interface Rollback.Builder extends SdkPojo, CopyableBuilder<Rollback.Builder,Rollback>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rollback.Builderreason(String reason)The reason the rollback happened.Rollback.BuilderserviceRevisionArn(String serviceRevisionArn)The ARN of the service revision deployed as part of the rollback.Rollback.BuilderstartedAt(Instant startedAt)Time time that the rollback started.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reason
Rollback.Builder reason(String reason)
The reason the rollback happened. For example, the circuit breaker initiated the rollback operation.
- Parameters:
reason- The reason the rollback happened. For example, the circuit breaker initiated the rollback operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
Rollback.Builder startedAt(Instant startedAt)
Time time that the rollback started. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Parameters:
startedAt- Time time that the rollback started. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRevisionArn
Rollback.Builder serviceRevisionArn(String serviceRevisionArn)
The ARN of the service revision deployed as part of the rollback.
When the type is
GPU, the value is the number of physicalGPUsthe Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on.When the type is
InferenceAccelerator, thevaluematches thedeviceNamefor an InferenceAccelerator specified in a task definition.- Parameters:
serviceRevisionArn- The ARN of the service revision deployed as part of the rollback.When the type is
GPU, the value is the number of physicalGPUsthe Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on.When the type is
InferenceAccelerator, thevaluematches thedeviceNamefor an InferenceAccelerator specified in a task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-