Class Gateway
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Gateway.Builder,Gateway>
The details of a gateway, including its configuration, status, and the infrastructure settings for its type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccessTypeSpecifies whether the gateway is publicly accessible (PUBLIC) or private (PRIVATE).final StringSpecifies whether the gateway is publicly accessible (PUBLIC) or private (PRIVATE).static Gateway.Builderbuilder()The type-specific configuration for the gateway.final InstantThe Unix timestamp for the time when the gateway was created.final BooleanSpecifies whether deletion protection is enabled for the gateway.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final List<GatewayResourceFailure> failures()The per-resource failure details for asynchronous gateway processes, such as anUpdateGatewayoperation that couldn't update every load balancer.final StringThe Amazon Resource Name (ARN) of the gateway.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Failures property.final inthashCode()final booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.final StringThe Amazon Resource Name (ARN) of the IAM role that the gateway uses to manage infrastructure on your behalf.final Stringname()The name of the gateway.final PropagateGatewayTagsSpecifies whether the gateway propagates its tags to the infrastructure it manages.final StringSpecifies whether the gateway propagates its tags to the infrastructure it manages.static Class<? extends Gateway.Builder> final GatewayStatusstatus()The status of the gateway.final StringThe status of the gateway.final StringA human-readable explanation of the current status.tags()The metadata applied to the gateway.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe Unix timestamp for the time when the gateway was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway.
- Returns:
- The Amazon Resource Name (ARN) of the gateway.
-
name
-
status
The status of the gateway.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGatewayStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the gateway.
- See Also:
-
statusAsString
The status of the gateway.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGatewayStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the gateway.
- See Also:
-
statusReason
A human-readable explanation of the current status. This value is populated when the gateway is in a failure state, such as
UPDATE_FAILED.- Returns:
- A human-readable explanation of the current status. This value is populated when the gateway is in a
failure state, such as
UPDATE_FAILED.
-
hasFailures
public final boolean hasFailures()For responses, this returns true if the service returned a value for the Failures property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
failures
The per-resource failure details for asynchronous gateway processes, such as an
UpdateGatewayoperation that couldn't update every load balancer.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
hasFailures()method.- Returns:
- The per-resource failure details for asynchronous gateway processes, such as an
UpdateGatewayoperation that couldn't update every load balancer.
-
infrastructureRoleArn
The Amazon Resource Name (ARN) of the IAM role that the gateway uses to manage infrastructure on your behalf.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that the gateway uses to manage infrastructure on your behalf.
-
deletionProtection
Specifies whether deletion protection is enabled for the gateway.
- Returns:
- Specifies whether deletion protection is enabled for the gateway.
-
configuration
The type-specific configuration for the gateway.
- Returns:
- The type-specific configuration for the gateway.
-
accessType
Specifies whether the gateway is publicly accessible (
PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable.If the service returns an enum value that is not available in the current SDK version,
accessTypewill returnAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessTypeAsString().- Returns:
- Specifies whether the gateway is publicly accessible (
PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable. - See Also:
-
accessTypeAsString
Specifies whether the gateway is publicly accessible (
PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable.If the service returns an enum value that is not available in the current SDK version,
accessTypewill returnAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessTypeAsString().- Returns:
- Specifies whether the gateway is publicly accessible (
PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable. - See Also:
-
propagateTags
Specifies whether the gateway propagates its tags to the infrastructure it manages.
If the service returns an enum value that is not available in the current SDK version,
propagateTagswill returnPropagateGatewayTags.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropagateTagsAsString().- Returns:
- Specifies whether the gateway propagates its tags to the infrastructure it manages.
- See Also:
-
propagateTagsAsString
Specifies whether the gateway propagates its tags to the infrastructure it manages.
If the service returns an enum value that is not available in the current SDK version,
propagateTagswill returnPropagateGatewayTags.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropagateTagsAsString().- Returns:
- Specifies whether the gateway propagates its tags to the infrastructure it manages.
- See Also:
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
tags
The metadata applied to the gateway. Each tag consists of a key and an optional value.
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.- Returns:
- The metadata applied to the gateway. Each tag consists of a key and an optional value.
-
createdAt
The Unix timestamp for the time when the gateway was created.
- Returns:
- The Unix timestamp for the time when the gateway was created.
-
updatedAt
The Unix timestamp for the time when the gateway was last updated.
- Returns:
- The Unix timestamp for the time when the gateway was last updated.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Gateway.Builder,Gateway> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-