@Generated(value="software.amazon.awssdk:codegen") public class ModifyHsmRequest extends CloudHSMRequest implements ToCopyableBuilder<ModifyHsmRequest.Builder,ModifyHsmRequest>
Contains the inputs for the ModifyHsm operation.
Modifier and Type | Class and Description |
---|---|
static interface |
ModifyHsmRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ModifyHsmRequest.Builder |
builder() |
String |
eniIp()
The new IP address for the elastic network interface (ENI) attached to the HSM.
|
boolean |
equals(Object obj) |
String |
externalId()
The new external ID.
|
<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 |
hsmArn()
The ARN of the HSM to modify.
|
String |
iamRoleArn()
The new IAM role ARN.
|
static Class<? extends ModifyHsmRequest.Builder> |
serializableBuilderClass() |
String |
subnetId()
The new identifier of the subnet that the HSM is in.
|
String |
syslogIp()
The new IP address for the syslog monitoring server.
|
ModifyHsmRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String hsmArn()
The ARN of the HSM to modify.
public String subnetId()
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
public String eniIp()
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
public String iamRoleArn()
The new IAM role ARN.
public String externalId()
The new external ID.
public String syslogIp()
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
public ModifyHsmRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyHsmRequest.Builder,ModifyHsmRequest>
toBuilder
in class CloudHSMRequest
public static ModifyHsmRequest.Builder builder()
public static Class<? extends ModifyHsmRequest.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.