Class ListAttachmentsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest
-
- software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListAttachmentsRequest.Builder,ListAttachmentsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListAttachmentsRequest extends NetworkManagerRequest implements ToCopyableBuilder<ListAttachmentsRequest.Builder,ListAttachmentsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListAttachmentsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentTypeattachmentType()The type of attachment.StringattachmentTypeAsString()The type of attachment.static ListAttachmentsRequest.Builderbuilder()StringcoreNetworkId()The ID of a core network.StringedgeLocation()The Region where the edge is located.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return.StringnextToken()The token for the next page of results.List<SdkField<?>>sdkFields()static Class<? extends ListAttachmentsRequest.Builder>serializableBuilderClass()AttachmentStatestate()The state of the attachment.StringstateAsString()The state of the attachment.ListAttachmentsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
coreNetworkId
public final String coreNetworkId()
The ID of a core network.
- Returns:
- The ID of a core network.
-
attachmentType
public final AttachmentType attachmentType()
The type of attachment.
If the service returns an enum value that is not available in the current SDK version,
attachmentTypewill returnAttachmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentTypeAsString().- Returns:
- The type of attachment.
- See Also:
AttachmentType
-
attachmentTypeAsString
public final String attachmentTypeAsString()
The type of attachment.
If the service returns an enum value that is not available in the current SDK version,
attachmentTypewill returnAttachmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentTypeAsString().- Returns:
- The type of attachment.
- See Also:
AttachmentType
-
edgeLocation
public final String edgeLocation()
The Region where the edge is located.
- Returns:
- The Region where the edge is located.
-
state
public final AttachmentState state()
The state of the attachment.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAttachmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the attachment.
- See Also:
AttachmentState
-
stateAsString
public final String stateAsString()
The state of the attachment.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAttachmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the attachment.
- See Also:
AttachmentState
-
maxResults
public final Integer maxResults()
The maximum number of results to return.
- Returns:
- The maximum number of results to return.
-
nextToken
public final String nextToken()
The token for the next page of results.
- Returns:
- The token for the next page of results.
-
toBuilder
public ListAttachmentsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListAttachmentsRequest.Builder,ListAttachmentsRequest>- Specified by:
toBuilderin classNetworkManagerRequest
-
builder
public static ListAttachmentsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListAttachmentsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-