Cloneable
, ReadLimitInfo
, ToCopyableBuilder<SetInstanceProtectionRequest.Builder,SetInstanceProtectionRequest>
@Generated("software.amazon.awssdk:codegen") public class SetInstanceProtectionRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<SetInstanceProtectionRequest.Builder,SetInstanceProtectionRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
SetInstanceProtectionRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
autoScalingGroupName() |
The name of the group.
|
static SetInstanceProtectionRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<String> |
instanceIds() |
One or more instance IDs.
|
Boolean |
protectedFromScaleIn() |
Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
|
static Class<? extends SetInstanceProtectionRequest.Builder> |
serializableBuilderClass() |
|
SetInstanceProtectionRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public List<String> instanceIds()
One or more instance IDs.
public String autoScalingGroupName()
The name of the group.
public Boolean protectedFromScaleIn()
Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
public SetInstanceProtectionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetInstanceProtectionRequest.Builder,SetInstanceProtectionRequest>
public static SetInstanceProtectionRequest.Builder builder()
public static Class<? extends SetInstanceProtectionRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.