@Generated(value="software.amazon.awssdk:codegen") public final class CreateHsmRequest extends CloudHsmV2Request implements ToCopyableBuilder<CreateHsmRequest.Builder,CreateHsmRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateHsmRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The Availability Zone where you are creating the HSM.
|
static CreateHsmRequest.Builder |
builder() |
String |
clusterId()
The identifier (ID) of the HSM's cluster.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
ipAddress()
The HSM's IP address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateHsmRequest.Builder> |
serializableBuilderClass() |
CreateHsmRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String clusterId()
The identifier (ID) of the HSM's cluster. To find the cluster ID, use DescribeClusters.
public String availabilityZone()
The Availability Zone where you are creating the HSM. To find the cluster's Availability Zones, use DescribeClusters.
public String ipAddress()
The HSM's IP address. If you specify an IP address, use an available address from the subnet that maps to the Availability Zone where you are creating the HSM. If you don't specify an IP address, one is chosen for you from that subnet.
public CreateHsmRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateHsmRequest.Builder,CreateHsmRequest>
toBuilder
in class CloudHsmV2Request
public static CreateHsmRequest.Builder builder()
public static Class<? extends CreateHsmRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.