@Generated(value="software.amazon.awssdk:codegen") public final class Attachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Attachment.Builder,Attachment>
Describes a core network attachment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Attachment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attachmentId()
The ID of the attachment.
|
Integer |
attachmentPolicyRuleNumber()
The policy rule number associated with the attachment.
|
AttachmentType |
attachmentType()
The type of attachment.
|
String |
attachmentTypeAsString()
The type of attachment.
|
static Attachment.Builder |
builder() |
String |
coreNetworkArn()
The ARN of a core network.
|
String |
coreNetworkId()
The ID of a core network.
|
Instant |
createdAt()
The timestamp when the attachment was created.
|
String |
edgeLocation()
The Region where the edge is located.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
ownerAccountId()
The ID of the attachment account owner.
|
ProposedSegmentChange |
proposedSegmentChange()
The attachment to move from one segment to another.
|
String |
resourceArn()
The attachment resource ARN.
|
List<SdkField<?>> |
sdkFields() |
String |
segmentName()
The name of the segment attachment.
|
static Class<? extends Attachment.Builder> |
serializableBuilderClass() |
AttachmentState |
state()
The state of the attachment.
|
String |
stateAsString()
The state of the attachment.
|
List<Tag> |
tags()
The tags associated with the attachment.
|
Attachment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The timestamp when the attachment was last updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String coreNetworkId()
The ID of a core network.
public final String coreNetworkArn()
The ARN of a core network.
public final String attachmentId()
The ID of the attachment.
public final String ownerAccountId()
The ID of the attachment account owner.
public final AttachmentType attachmentType()
The type of attachment.
If the service returns an enum value that is not available in the current SDK version, attachmentType
will return AttachmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from attachmentTypeAsString().
AttachmentTypepublic final String attachmentTypeAsString()
The type of attachment.
If the service returns an enum value that is not available in the current SDK version, attachmentType
will return AttachmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from attachmentTypeAsString().
AttachmentTypepublic final AttachmentState state()
The state of the attachment.
If the service returns an enum value that is not available in the current SDK version, state will return
AttachmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
AttachmentStatepublic final String stateAsString()
The state of the attachment.
If the service returns an enum value that is not available in the current SDK version, state will return
AttachmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
AttachmentStatepublic final String edgeLocation()
The Region where the edge is located.
public final String resourceArn()
The attachment resource ARN.
public final Integer attachmentPolicyRuleNumber()
The policy rule number associated with the attachment.
public final String segmentName()
The name of the segment attachment.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
The tags associated with the attachment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final ProposedSegmentChange proposedSegmentChange()
The attachment to move from one segment to another.
public final Instant createdAt()
The timestamp when the attachment was created.
public final Instant updatedAt()
The timestamp when the attachment was last updated.
public Attachment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Attachment.Builder,Attachment>public static Attachment.Builder builder()
public static Class<? extends Attachment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.