Class CancelInstanceRefreshRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest
software.amazon.awssdk.services.autoscaling.model.CancelInstanceRefreshRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CancelInstanceRefreshRequest.Builder,CancelInstanceRefreshRequest>
@Generated("software.amazon.awssdk:codegen")
public final class CancelInstanceRefreshRequest
extends AutoScalingRequest
implements ToCopyableBuilder<CancelInstanceRefreshRequest.Builder,CancelInstanceRefreshRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe name of the Auto Scaling group.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends CancelInstanceRefreshRequest.Builder>final StringtoString()Returns a string representation of this object.final BooleanWhen cancelling an instance refresh, this indicates whether to wait for in-flight launches and terminations to complete.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
autoScalingGroupName
The name of the Auto Scaling group.
- Returns:
- The name of the Auto Scaling group.
-
waitForTransitioningInstances
When cancelling an instance refresh, this indicates whether to wait for in-flight launches and terminations to complete. The default is true.
When set to false, Amazon EC2 Auto Scaling cancels the instance refresh without waiting for any pending launches or terminations to complete.
- Returns:
- When cancelling an instance refresh, this indicates whether to wait for in-flight launches and
terminations to complete. The default is true.
When set to false, Amazon EC2 Auto Scaling cancels the instance refresh without waiting for any pending launches or terminations to complete.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CancelInstanceRefreshRequest.Builder,CancelInstanceRefreshRequest> - Specified by:
toBuilderin classAutoScalingRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-