Interface PutContainerPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutContainerPolicyRequest.Builder,,PutContainerPolicyRequest> MediaStoreRequest.Builder,SdkBuilder<PutContainerPolicyRequest.Builder,,PutContainerPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutContainerPolicyRequest
public static interface PutContainerPolicyRequest.Builder
extends MediaStoreRequest.Builder, SdkPojo, CopyableBuilder<PutContainerPolicyRequest.Builder,PutContainerPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerName(String containerName) The name of the container.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The contents of the policy, which includes the following: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.services.mediastore.model.MediaStoreRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
containerName
The name of the container.
- Parameters:
containerName- The name of the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The contents of the policy, which includes the following:
-
One
Versiontag -
One
Statementtag that contains the standard tags for the policy.
- Parameters:
policy- The contents of the policy, which includes the following:-
One
Versiontag -
One
Statementtag that contains the standard tags for the policy.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
PutContainerPolicyRequest.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
PutContainerPolicyRequest.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.
-