Interface GetInstanceTpmEkPubRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetInstanceTpmEkPubRequest.Builder,
,GetInstanceTpmEkPubRequest> Ec2Request.Builder
,SdkBuilder<GetInstanceTpmEkPubRequest.Builder,
,GetInstanceTpmEkPubRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetInstanceTpmEkPubRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecify this parameter to verify whether the request will succeed, without actually making the request.instanceId
(String instanceId) The ID of the instance for which to get the public endorsement key.The required public endorsement key format.keyFormat
(EkPubKeyFormat keyFormat) The required public endorsement key format.The required public endorsement key type.keyType
(EkPubKeyType keyType) The required public endorsement key type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceId
The ID of the instance for which to get the public endorsement key.
- Parameters:
instanceId
- The ID of the instance for which to get the public endorsement key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyType
The required public endorsement key type.
- Parameters:
keyType
- The required public endorsement key type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyType
The required public endorsement key type.
- Parameters:
keyType
- The required public endorsement key type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
keyFormat
- The required public endorsement key format. Specifyder
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
keyFormat
- The required public endorsement key format. Specifyder
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
dryRun
- Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response isDryRunOperation
. Otherwise, the response isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetInstanceTpmEkPubRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetInstanceTpmEkPubRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-