Interface CreateSupportPermitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSupportPermitRequest.Builder,,CreateSupportPermitRequest> SdkBuilder<CreateSupportPermitRequest.Builder,,CreateSupportPermitRequest> SdkPojo,SdkRequest.Builder,SupportAuthzRequest.Builder
- Enclosing class:
CreateSupportPermitRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description(String description) A human-readable description of why this permit is being created.A customer-chosen name for the support permit.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permit(Consumer<Permit.Builder> permit) The permit definition specifying the actions, resources, and time-window conditions that the support operator is authorized to use.The permit definition specifying the actions, resources, and time-window conditions that the support operator is authorized to use.signingKeyInfo(Consumer<SigningKeyInfo.Builder> signingKeyInfo) The signing key information used to sign the permit.signingKeyInfo(SigningKeyInfo signingKeyInfo) The signing key information used to sign the permit.supportCaseDisplayId(String supportCaseDisplayId) The display identifier of the AWS Support case associated with this permit.The tags to associate with the support permit on creation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.supportauthz.model.SupportAuthzRequest.Builder
build
-
Method Details
-
permit
The permit definition specifying the actions, resources, and time-window conditions that the support operator is authorized to use.
- Parameters:
permit- The permit definition specifying the actions, resources, and time-window conditions that the support operator is authorized to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permit
The permit definition specifying the actions, resources, and time-window conditions that the support operator is authorized to use.
This is a convenience method that creates an instance of thePermit.Builderavoiding the need to create one manually viaPermit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermit(Permit).- Parameters:
permit- a consumer that will call methods onPermit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
A customer-chosen name for the support permit. Must be between 1 and 256 alphanumeric characters.
- Parameters:
name- A customer-chosen name for the support permit. Must be between 1 and 256 alphanumeric characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description of why this permit is being created. Maximum length of 1024 characters.
- Parameters:
description- A human-readable description of why this permit is being created. Maximum length of 1024 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingKeyInfo
The signing key information used to sign the permit. Must reference an AWS KMS key with key usage SIGN_VERIFY and key spec ECC_NIST_P384.
- Parameters:
signingKeyInfo- The signing key information used to sign the permit. Must reference an AWS KMS key with key usage SIGN_VERIFY and key spec ECC_NIST_P384.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingKeyInfo
default CreateSupportPermitRequest.Builder signingKeyInfo(Consumer<SigningKeyInfo.Builder> signingKeyInfo) The signing key information used to sign the permit. Must reference an AWS KMS key with key usage SIGN_VERIFY and key spec ECC_NIST_P384.
This is a convenience method that creates an instance of theSigningKeyInfo.Builderavoiding the need to create one manually viaSigningKeyInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosigningKeyInfo(SigningKeyInfo).- Parameters:
signingKeyInfo- a consumer that will call methods onSigningKeyInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportCaseDisplayId
The display identifier of the AWS Support case associated with this permit.
- Parameters:
supportCaseDisplayId- The display identifier of the AWS Support case associated with this permit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service returns the existing permit without creating a duplicate.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service returns the existing permit without creating a duplicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the support permit on creation.
- Parameters:
tags- The tags to associate with the support permit on creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSupportPermitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSupportPermitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-