Interface PutOrganizationConformancePackRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConfigRequest.Builder
,CopyableBuilder<PutOrganizationConformancePackRequest.Builder,
,PutOrganizationConformancePackRequest> SdkBuilder<PutOrganizationConformancePackRequest.Builder,
,PutOrganizationConformancePackRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutOrganizationConformancePackRequest
-
Method Summary
Modifier and TypeMethodDescriptionconformancePackInputParameters
(Collection<ConformancePackInputParameter> conformancePackInputParameters) A list ofConformancePackInputParameter
objects.conformancePackInputParameters
(Consumer<ConformancePackInputParameter.Builder>... conformancePackInputParameters) A list ofConformancePackInputParameter
objects.conformancePackInputParameters
(ConformancePackInputParameter... conformancePackInputParameters) A list ofConformancePackInputParameter
objects.deliveryS3Bucket
(String deliveryS3Bucket) The name of the Amazon S3 bucket where Config stores conformance pack templates.deliveryS3KeyPrefix
(String deliveryS3KeyPrefix) The prefix for the Amazon S3 bucket.excludedAccounts
(String... excludedAccounts) A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.excludedAccounts
(Collection<String> excludedAccounts) A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.organizationConformancePackName
(String organizationConformancePackName) Name of the organization conformance pack you want to create.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.templateBody
(String templateBody) A string containing full conformance pack template body.templateS3Uri
(String templateS3Uri) Location of file containing the template body.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 Details
-
organizationConformancePackName
PutOrganizationConformancePackRequest.Builder organizationConformancePackName(String organizationConformancePackName) Name of the organization conformance pack you want to create.
- Parameters:
organizationConformancePackName
- Name of the organization conformance pack you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateS3Uri
Location of file containing the template body. The uri must point to the conformance pack template (max size: 300 KB).
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
- Location of file containing the template body. The uri must point to the conformance pack template (max size: 300 KB).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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryS3Bucket
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional. If used, it must be prefixed with
awsconfigconforms
.- Parameters:
deliveryS3Bucket
- The name of the Amazon S3 bucket where Config stores conformance pack templates.This field is optional. If used, it must be prefixed with
awsconfigconforms
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
PutOrganizationConformancePackRequest.Builder conformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters) A list of
ConformancePackInputParameter
objects.- Parameters:
conformancePackInputParameters
- A list ofConformancePackInputParameter
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conformancePackInputParameters
PutOrganizationConformancePackRequest.Builder conformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters) A list of
ConformancePackInputParameter
objects.- Parameters:
conformancePackInputParameters
- A list ofConformancePackInputParameter
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conformancePackInputParameters
PutOrganizationConformancePackRequest.Builder conformancePackInputParameters(Consumer<ConformancePackInputParameter.Builder>... conformancePackInputParameters) A list of
This is a convenience method that creates an instance of theConformancePackInputParameter
objects.ConformancePackInputParameter.Builder
avoiding the need to create one manually viaConformancePackInputParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconformancePackInputParameters(List<ConformancePackInputParameter>)
.- 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:
-
excludedAccounts
A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.
- Parameters:
excludedAccounts
- A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedAccounts
A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.
- Parameters:
excludedAccounts
- A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutOrganizationConformancePackRequest.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
PutOrganizationConformancePackRequest.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.
-