Class GetInstanceTpmEkPubRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ec2.model.Ec2Request
-
- software.amazon.awssdk.services.ec2.model.GetInstanceTpmEkPubRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetInstanceTpmEkPubRequest.Builder,GetInstanceTpmEkPubRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetInstanceTpmEkPubRequest extends Ec2Request implements ToCopyableBuilder<GetInstanceTpmEkPubRequest.Builder,GetInstanceTpmEkPubRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetInstanceTpmEkPubRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetInstanceTpmEkPubRequest.Builder
builder()
Boolean
dryRun()
Specify this parameter to verify whether the request will succeed, without actually making the request.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
instanceId()
The ID of the instance for which to get the public endorsement key.EkPubKeyFormat
keyFormat()
The required public endorsement key format.String
keyFormatAsString()
The required public endorsement key format.EkPubKeyType
keyType()
The required public endorsement key type.String
keyTypeAsString()
The required public endorsement key type.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends GetInstanceTpmEkPubRequest.Builder>
serializableBuilderClass()
GetInstanceTpmEkPubRequest.Builder
toBuilder()
String
toString()
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
-
instanceId
public final String instanceId()
The ID of the instance for which to get the public endorsement key.
- Returns:
- The ID of the instance for which to get the public endorsement key.
-
keyType
public final EkPubKeyType keyType()
The required public endorsement key type.
If the service returns an enum value that is not available in the current SDK version,
keyType
will returnEkPubKeyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromkeyTypeAsString()
.- Returns:
- The required public endorsement key type.
- See Also:
EkPubKeyType
-
keyTypeAsString
public final String keyTypeAsString()
The required public endorsement key type.
If the service returns an enum value that is not available in the current SDK version,
keyType
will returnEkPubKeyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromkeyTypeAsString()
.- Returns:
- The required public endorsement key type.
- See Also:
EkPubKeyType
-
keyFormat
public final EkPubKeyFormat keyFormat()
The required public endorsement key format. Specify
der
for a DER-encoded public key that is compatible with OpenSSL. Specifytpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.If the service returns an enum value that is not available in the current SDK version,
keyFormat
will returnEkPubKeyFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromkeyFormatAsString()
.- Returns:
- The required public endorsement key format. Specify
der
for a DER-encoded public key that is compatible with OpenSSL. Specifytpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded. - See Also:
EkPubKeyFormat
-
keyFormatAsString
public final String keyFormatAsString()
The required public endorsement key format. Specify
der
for a DER-encoded public key that is compatible with OpenSSL. Specifytpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.If the service returns an enum value that is not available in the current SDK version,
keyFormat
will returnEkPubKeyFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromkeyFormatAsString()
.- Returns:
- The required public endorsement key format. Specify
der
for a DER-encoded public key that is compatible with OpenSSL. Specifytpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded. - See Also:
EkPubKeyFormat
-
dryRun
public final Boolean dryRun()
Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is
DryRunOperation
. Otherwise, the response isUnauthorizedOperation
.- Returns:
- Specify this parameter to verify whether the request will succeed, without actually making the request.
If the request will succeed, the response is
DryRunOperation
. Otherwise, the response isUnauthorizedOperation
.
-
toBuilder
public GetInstanceTpmEkPubRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetInstanceTpmEkPubRequest.Builder,GetInstanceTpmEkPubRequest>
- Specified by:
toBuilder
in classEc2Request
-
builder
public static GetInstanceTpmEkPubRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetInstanceTpmEkPubRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-