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 interfaceGetInstanceTpmEkPubRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetInstanceTpmEkPubRequest.Builderbuilder()BooleandryRun()Specify this parameter to verify whether the request will succeed, without actually making the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The ID of the instance for which to get the public endorsement key.EkPubKeyFormatkeyFormat()The required public endorsement key format.StringkeyFormatAsString()The required public endorsement key format.EkPubKeyTypekeyType()The required public endorsement key type.StringkeyTypeAsString()The required public endorsement key type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetInstanceTpmEkPubRequest.Builder>serializableBuilderClass()GetInstanceTpmEkPubRequest.BuildertoBuilder()StringtoString()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,
keyTypewill 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,
keyTypewill 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
derfor a DER-encoded public key that is compatible with OpenSSL. Specifytpmtfor 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,
keyFormatwill returnEkPubKeyFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyFormatAsString().- Returns:
- The required public endorsement key format. Specify
derfor a DER-encoded public key that is compatible with OpenSSL. Specifytpmtfor 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
derfor a DER-encoded public key that is compatible with OpenSSL. Specifytpmtfor 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,
keyFormatwill returnEkPubKeyFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyFormatAsString().- Returns:
- The required public endorsement key format. Specify
derfor a DER-encoded public key that is compatible with OpenSSL. Specifytpmtfor 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:
toBuilderin interfaceToCopyableBuilder<GetInstanceTpmEkPubRequest.Builder,GetInstanceTpmEkPubRequest>- Specified by:
toBuilderin classEc2Request
-
builder
public static GetInstanceTpmEkPubRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetInstanceTpmEkPubRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-