@Generated(value="software.amazon.awssdk:codegen") public final class StopInstanceRequest extends LightsailRequest implements ToCopyableBuilder<StopInstanceRequest.Builder,StopInstanceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StopInstanceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StopInstanceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
force()
When set to
True, forces a Lightsail instance that is stuck in a stopping state to
stop. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceName()
The name of the instance (a virtual private server) to stop.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StopInstanceRequest.Builder> |
serializableBuilderClass() |
StopInstanceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceName()
The name of the instance (a virtual private server) to stop.
public final Boolean force()
When set to True, forces a Lightsail instance that is stuck in a stopping state to
stop.
Only use the force parameter if your instance is stuck in the stopping state. In any
other state, your instance should stop normally without adding this parameter to your API request.
True, forces a Lightsail instance that is stuck in a stopping state
to stop.
Only use the force parameter if your instance is stuck in the stopping state.
In any other state, your instance should stop normally without adding this parameter to your API request.
public StopInstanceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StopInstanceRequest.Builder,StopInstanceRequest>toBuilder in class LightsailRequestpublic static StopInstanceRequest.Builder builder()
public static Class<? extends StopInstanceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.