Interface PutConformancePackRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<PutConformancePackRequest.Builder,PutConformancePackRequest>,SdkBuilder<PutConformancePackRequest.Builder,PutConformancePackRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutConformancePackRequest
public static interface PutConformancePackRequest.Builder extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutConformancePackRequest.Builder,PutConformancePackRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutConformancePackRequest.BuilderconformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)A list ofConformancePackInputParameterobjects.PutConformancePackRequest.BuilderconformancePackInputParameters(Consumer<ConformancePackInputParameter.Builder>... conformancePackInputParameters)A list ofConformancePackInputParameterobjects.PutConformancePackRequest.BuilderconformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters)A list ofConformancePackInputParameterobjects.PutConformancePackRequest.BuilderconformancePackName(String conformancePackName)The unique name of the conformance pack you want to deploy.PutConformancePackRequest.BuilderdeliveryS3Bucket(String deliveryS3Bucket)The name of the Amazon S3 bucket where Config stores conformance pack templates.PutConformancePackRequest.BuilderdeliveryS3KeyPrefix(String deliveryS3KeyPrefix)The prefix for the Amazon S3 bucket.PutConformancePackRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutConformancePackRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutConformancePackRequest.BuildertemplateBody(String templateBody)A string containing the full conformance pack template body.PutConformancePackRequest.BuildertemplateS3Uri(String templateS3Uri)The location of the file containing the template body (s3://bucketname/prefix).default PutConformancePackRequest.BuildertemplateSSMDocumentDetails(Consumer<TemplateSSMDocumentDetails.Builder> templateSSMDocumentDetails)An object of typeTemplateSSMDocumentDetails, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.PutConformancePackRequest.BuildertemplateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)An object of typeTemplateSSMDocumentDetails, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
conformancePackName
PutConformancePackRequest.Builder conformancePackName(String conformancePackName)
The unique name of the conformance pack you want to deploy.
- Parameters:
conformancePackName- The unique name of the conformance pack you want to deploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateS3Uri
PutConformancePackRequest.Builder templateS3Uri(String templateS3Uri)
The location of the file containing the template body (
s3://bucketname/prefix). The uri must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same Region as the conformance pack.You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
- Parameters:
templateS3Uri- The location of the file containing the template body (s3://bucketname/prefix). The uri must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same Region as the conformance pack.You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateBody
PutConformancePackRequest.Builder templateBody(String templateBody)
A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (
AWS::Config::ConfigRule) and remediation action (AWS::Config::RemediationConfiguration).- Parameters:
templateBody- A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.You can use a YAML template with two resource types: Config rule (
AWS::Config::ConfigRule) and remediation action (AWS::Config::RemediationConfiguration).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryS3Bucket
PutConformancePackRequest.Builder deliveryS3Bucket(String deliveryS3Bucket)
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
- Parameters:
deliveryS3Bucket- The name of the Amazon S3 bucket where Config stores conformance pack templates.This field is optional.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryS3KeyPrefix
PutConformancePackRequest.Builder deliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
This field is optional.
- Parameters:
deliveryS3KeyPrefix- The prefix for the Amazon S3 bucket.This field is optional.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conformancePackInputParameters
PutConformancePackRequest.Builder conformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of
ConformancePackInputParameterobjects.- Parameters:
conformancePackInputParameters- A list ofConformancePackInputParameterobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conformancePackInputParameters
PutConformancePackRequest.Builder conformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters)
A list of
ConformancePackInputParameterobjects.- Parameters:
conformancePackInputParameters- A list ofConformancePackInputParameterobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conformancePackInputParameters
PutConformancePackRequest.Builder conformancePackInputParameters(Consumer<ConformancePackInputParameter.Builder>... conformancePackInputParameters)
A list of
This is a convenience method that creates an instance of theConformancePackInputParameterobjects.ConformancePackInputParameter.Builderavoiding the need to create one manually viaConformancePackInputParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conformancePackInputParameters(List.) - Parameters:
conformancePackInputParameters- a consumer that will call methods onConformancePackInputParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#conformancePackInputParameters(java.util.Collection)
-
templateSSMDocumentDetails
PutConformancePackRequest.Builder templateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)
An object of type
TemplateSSMDocumentDetails, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.- Parameters:
templateSSMDocumentDetails- An object of typeTemplateSSMDocumentDetails, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateSSMDocumentDetails
default PutConformancePackRequest.Builder templateSSMDocumentDetails(Consumer<TemplateSSMDocumentDetails.Builder> templateSSMDocumentDetails)
An object of type
This is a convenience method that creates an instance of theTemplateSSMDocumentDetails, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.TemplateSSMDocumentDetails.Builderavoiding the need to create one manually viaTemplateSSMDocumentDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateSSMDocumentDetails(TemplateSSMDocumentDetails).- Parameters:
templateSSMDocumentDetails- a consumer that will call methods onTemplateSSMDocumentDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
templateSSMDocumentDetails(TemplateSSMDocumentDetails)
-
overrideConfiguration
PutConformancePackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutConformancePackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-