@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceTpmEkPubRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<GetInstanceTpmEkPubRequest>
NOOP
Constructor and Description |
---|
GetInstanceTpmEkPubRequest() |
Modifier and Type | Method and Description |
---|---|
GetInstanceTpmEkPubRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<GetInstanceTpmEkPubRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceId()
The ID of the instance for which to get the public endorsement key.
|
String |
getKeyFormat()
The required public endorsement key format.
|
String |
getKeyType()
The required public endorsement key type.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance for which to get the public endorsement key.
|
void |
setKeyFormat(String keyFormat)
The required public endorsement key format.
|
void |
setKeyType(String keyType)
The required public endorsement key type.
|
String |
toString()
Returns a string representation of this object.
|
GetInstanceTpmEkPubRequest |
withInstanceId(String instanceId)
The ID of the instance for which to get the public endorsement key.
|
GetInstanceTpmEkPubRequest |
withKeyFormat(EkPubKeyFormat keyFormat)
The required public endorsement key format.
|
GetInstanceTpmEkPubRequest |
withKeyFormat(String keyFormat)
The required public endorsement key format.
|
GetInstanceTpmEkPubRequest |
withKeyType(EkPubKeyType keyType)
The required public endorsement key type.
|
GetInstanceTpmEkPubRequest |
withKeyType(String keyType)
The required public endorsement key type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The ID of the instance for which to get the public endorsement key.
instanceId
- The ID of the instance for which to get the public endorsement key.public String getInstanceId()
The ID of the instance for which to get the public endorsement key.
public GetInstanceTpmEkPubRequest withInstanceId(String instanceId)
The ID of the instance for which to get the public endorsement key.
instanceId
- The ID of the instance for which to get the public endorsement key.public void setKeyType(String keyType)
The required public endorsement key type.
keyType
- The required public endorsement key type.EkPubKeyType
public String getKeyType()
The required public endorsement key type.
EkPubKeyType
public GetInstanceTpmEkPubRequest withKeyType(String keyType)
The required public endorsement key type.
keyType
- The required public endorsement key type.EkPubKeyType
public GetInstanceTpmEkPubRequest withKeyType(EkPubKeyType keyType)
The required public endorsement key type.
keyType
- The required public endorsement key type.EkPubKeyType
public void setKeyFormat(String keyFormat)
The required public endorsement key format. Specify der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The
returned key is base64 encoded.
keyFormat
- The required public endorsement key format. Specify der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with
tpm2-tools. The returned key is base64 encoded.EkPubKeyFormat
public String getKeyFormat()
The required public endorsement key format. Specify der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The
returned key is base64 encoded.
der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with
tpm2-tools. The returned key is base64 encoded.EkPubKeyFormat
public GetInstanceTpmEkPubRequest withKeyFormat(String keyFormat)
The required public endorsement key format. Specify der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The
returned key is base64 encoded.
keyFormat
- The required public endorsement key format. Specify der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with
tpm2-tools. The returned key is base64 encoded.EkPubKeyFormat
public GetInstanceTpmEkPubRequest withKeyFormat(EkPubKeyFormat keyFormat)
The required public endorsement key format. Specify der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The
returned key is base64 encoded.
keyFormat
- The required public endorsement key format. Specify der
for a DER-encoded public key that is
compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with
tpm2-tools. The returned key is base64 encoded.EkPubKeyFormat
public Request<GetInstanceTpmEkPubRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<GetInstanceTpmEkPubRequest>
public String toString()
toString
in class Object
Object.toString()
public GetInstanceTpmEkPubRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()