public static interface PutConformancePackRequest.Builder extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutConformancePackRequest.Builder,PutConformancePackRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutConformancePackRequest.Builder conformancePackName(String conformancePackName)
Name of the conformance pack you want to create.
conformancePackName - Name of the conformance pack you want to create.PutConformancePackRequest.Builder templateS3Uri(String templateS3Uri)
Location of file containing the template body (s3://bucketname/prefix). The uri must point to
the 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.
templateS3Uri - Location of file containing the template body (s3://bucketname/prefix). The uri must
point to the 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.
PutConformancePackRequest.Builder templateBody(String templateBody)
A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with one resource type, that is, config rule and a remediation action.
templateBody - A string containing full conformance pack template body. Structure containing the template body with a
minimum length of 1 byte and a maximum length of 51,200 bytes. You can only use a YAML template with one resource type, that is, config rule and a remediation action.
PutConformancePackRequest.Builder deliveryS3Bucket(String deliveryS3Bucket)
Amazon S3 bucket where AWS Config stores conformance pack templates.
This field is optional.
deliveryS3Bucket - Amazon S3 bucket where AWS Config stores conformance pack templates. This field is optional.
PutConformancePackRequest.Builder deliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
This field is optional.
deliveryS3KeyPrefix - The prefix for the Amazon S3 bucket. This field is optional.
PutConformancePackRequest.Builder conformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of ConformancePackInputParameter objects.
conformancePackInputParameters - A list of ConformancePackInputParameter objects.PutConformancePackRequest.Builder conformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters)
A list of ConformancePackInputParameter objects.
conformancePackInputParameters - A list of ConformancePackInputParameter objects.PutConformancePackRequest.Builder conformancePackInputParameters(Consumer<ConformancePackInputParameter.Builder>... conformancePackInputParameters)
A list of ConformancePackInputParameter objects.
List.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #conformancePackInputParameters(List) .conformancePackInputParameters - a consumer that will call methods on List.Builder #conformancePackInputParameters(List) PutConformancePackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutConformancePackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.