@Generated(value="software.amazon.awssdk:codegen") public final class ClassicLinkInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
Describes a linked EC2-Classic instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClassicLinkInstance.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClassicLinkInstance.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<GroupIdentifier> |
groups()
A list of security groups.
|
boolean |
hasGroups()
Returns true if the Groups property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
instanceId()
The ID of the instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClassicLinkInstance.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Any tags assigned to the instance.
|
ClassicLinkInstance.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasGroups()
public final List<GroupIdentifier> groups()
A list of security groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroups() to see if a value was sent in this field.
public final String instanceId()
The ID of the instance.
public final boolean hasTags()
public final List<Tag> tags()
Any tags assigned to the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final String vpcId()
The ID of the VPC.
public ClassicLinkInstance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>public static ClassicLinkInstance.Builder builder()
public static Class<? extends ClassicLinkInstance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.