Cloneable
, ReadLimitInfo
, ToCopyableBuilder<ModifyInstancePlacementRequest.Builder,ModifyInstancePlacementRequest>
@Generated("software.amazon.awssdk:codegen") public class ModifyInstancePlacementRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ModifyInstancePlacementRequest.Builder,ModifyInstancePlacementRequest>
Contains the parameters for ModifyInstancePlacement.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ModifyInstancePlacementRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
affinity() |
The new affinity setting for the instance.
|
static ModifyInstancePlacementRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
hostId() |
The ID of the Dedicated Host that the instance will have affinity with.
|
String |
instanceId() |
The ID of the instance that you are modifying.
|
static Class<? extends ModifyInstancePlacementRequest.Builder> |
serializableBuilderClass() |
|
String |
tenancy() |
The tenancy of the instance that you are modifying.
|
ModifyInstancePlacementRequest.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 String affinity()
The new affinity setting for the instance.
Affinity
public String hostId()
The ID of the Dedicated Host that the instance will have affinity with.
public String instanceId()
The ID of the instance that you are modifying.
public String tenancy()
The tenancy of the instance that you are modifying.
HostTenancy
public ModifyInstancePlacementRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyInstancePlacementRequest.Builder,ModifyInstancePlacementRequest>
public static ModifyInstancePlacementRequest.Builder builder()
public static Class<? extends ModifyInstancePlacementRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.