Class UpdateAcceleratorRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest
-
- software.amazon.awssdk.services.globalaccelerator.model.UpdateAcceleratorRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAcceleratorRequest.Builder,UpdateAcceleratorRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAcceleratorRequest extends GlobalAcceleratorRequest implements ToCopyableBuilder<UpdateAcceleratorRequest.Builder,UpdateAcceleratorRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAcceleratorRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacceleratorArn()The Amazon Resource Name (ARN) of the accelerator to update.static UpdateAcceleratorRequest.Builderbuilder()Booleanenabled()Indicates whether an accelerator is enabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IpAddressTypeipAddressType()The IP address type that an accelerator supports.StringipAddressTypeAsString()The IP address type that an accelerator supports.Stringname()The name of the accelerator.List<SdkField<?>>sdkFields()static Class<? extends UpdateAcceleratorRequest.Builder>serializableBuilderClass()UpdateAcceleratorRequest.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
-
acceleratorArn
public final String acceleratorArn()
The Amazon Resource Name (ARN) of the accelerator to update.
- Returns:
- The Amazon Resource Name (ARN) of the accelerator to update.
-
name
public final String name()
The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
- Returns:
- The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
-
ipAddressType
public final IpAddressType ipAddressType()
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
If the service returns an enum value that is not available in the current SDK version,
ipAddressTypewill returnIpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressTypeAsString().- Returns:
- The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
- See Also:
IpAddressType
-
ipAddressTypeAsString
public final String ipAddressTypeAsString()
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
If the service returns an enum value that is not available in the current SDK version,
ipAddressTypewill returnIpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressTypeAsString().- Returns:
- The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
- See Also:
IpAddressType
-
enabled
public final Boolean enabled()
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
- Returns:
- Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
-
toBuilder
public UpdateAcceleratorRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAcceleratorRequest.Builder,UpdateAcceleratorRequest>- Specified by:
toBuilderin classGlobalAcceleratorRequest
-
builder
public static UpdateAcceleratorRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAcceleratorRequest.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
-
-