@Generated(value="software.amazon.awssdk:codegen") public final class ClassicLinkInstance extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<GroupIdentifier> |
groups()
A list of security groups.
|
int |
hashCode() |
String |
instanceId()
The ID of the instance.
|
static Class<? extends ClassicLinkInstance.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Any tags assigned to the instance.
|
ClassicLinkInstance.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The ID of the VPC.
|
copy
public List<GroupIdentifier> groups()
A list of security groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String instanceId()
The ID of the instance.
public List<Tag> tags()
Any tags assigned to the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String vpcId()
The ID of the VPC.
public ClassicLinkInstance.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
public static ClassicLinkInstance.Builder builder()
public static Class<? extends ClassicLinkInstance.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.