Class StartNetworkResourceUpdateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.privatenetworks.model.PrivateNetworksRequest
-
- software.amazon.awssdk.services.privatenetworks.model.StartNetworkResourceUpdateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartNetworkResourceUpdateRequest.Builder,StartNetworkResourceUpdateRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartNetworkResourceUpdateRequest extends PrivateNetworksRequest implements ToCopyableBuilder<StartNetworkResourceUpdateRequest.Builder,StartNetworkResourceUpdateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartNetworkResourceUpdateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartNetworkResourceUpdateRequest.Builderbuilder()CommitmentConfigurationcommitmentConfiguration()Use this action to extend and automatically renew the commitment period for the radio unit.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnetworkResourceArn()The Amazon Resource Name (ARN) of the network resource.StringreturnReason()The reason for the return.List<SdkField<?>>sdkFields()static Class<? extends StartNetworkResourceUpdateRequest.Builder>serializableBuilderClass()AddressshippingAddress()The shipping address.StartNetworkResourceUpdateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.UpdateTypeupdateType()The update type.StringupdateTypeAsString()The update type.-
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
-
commitmentConfiguration
public final CommitmentConfiguration commitmentConfiguration()
Use this action to extend and automatically renew the commitment period for the radio unit. You can do the following:
-
Change a 60-day commitment to a 1-year or 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the new commitment period.
-
Change a 1-year commitment to a 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the 3-year commitment period.
-
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
-
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
-
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment. You cannot use the automatic-renewal option for a 60-day commitment.
For pricing, see Amazon Web Services Private 5G Pricing.
- Returns:
- Use this action to extend and automatically renew the commitment period for the radio unit. You can do
the following:
-
Change a 60-day commitment to a 1-year or 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the new commitment period.
-
Change a 1-year commitment to a 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the 3-year commitment period.
-
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
-
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
-
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment. You cannot use the automatic-renewal option for a 60-day commitment.
For pricing, see Amazon Web Services Private 5G Pricing.
-
-
-
networkResourceArn
public final String networkResourceArn()
The Amazon Resource Name (ARN) of the network resource.
- Returns:
- The Amazon Resource Name (ARN) of the network resource.
-
returnReason
public final String returnReason()
The reason for the return. Providing a reason for a return is optional.
- Returns:
- The reason for the return. Providing a reason for a return is optional.
-
shippingAddress
public final Address shippingAddress()
The shipping address. If you don't provide a shipping address when replacing or returning a network resource, we use the address from the original order for the network resource.
- Returns:
- The shipping address. If you don't provide a shipping address when replacing or returning a network resource, we use the address from the original order for the network resource.
-
updateType
public final UpdateType updateType()
The update type.
-
REPLACE- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The update type.
-
REPLACE- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration.
-
- See Also:
UpdateType
-
-
updateTypeAsString
public final String updateTypeAsString()
The update type.
-
REPLACE- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The update type.
-
REPLACE- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration.
-
- See Also:
UpdateType
-
-
toBuilder
public StartNetworkResourceUpdateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartNetworkResourceUpdateRequest.Builder,StartNetworkResourceUpdateRequest>- Specified by:
toBuilderin classPrivateNetworksRequest
-
builder
public static StartNetworkResourceUpdateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartNetworkResourceUpdateRequest.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
-
-