@Generated(value="software.amazon.awssdk:codegen") public final 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) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalId()
The new external ID.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hsmArn()
The ARN of the HSM to modify.
|
String |
iamRoleArn()
The new IAM role ARN.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hsmArn()
The ARN of the HSM to modify.
public final 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 final 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 final String iamRoleArn()
The new IAM role ARN.
public final String externalId()
The new external ID.
public final 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()
toBuilder in interface ToCopyableBuilder<ModifyHsmRequest.Builder,ModifyHsmRequest>toBuilder in class CloudHsmRequestpublic static ModifyHsmRequest.Builder builder()
public static Class<? extends ModifyHsmRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.