Interface GeneratedPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeneratedPolicy.Builder,GeneratedPolicy>,SdkBuilder<GeneratedPolicy.Builder,GeneratedPolicy>,SdkPojo
- Enclosing class:
- GeneratedPolicy
public static interface GeneratedPolicy.Builder extends SdkPojo, CopyableBuilder<GeneratedPolicy.Builder,GeneratedPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeneratedPolicy.Builderpolicy(String policy)The text to use as the content for the new policy.-
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
-
policy
GeneratedPolicy.Builder policy(String policy)
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
- Parameters:
policy- The text to use as the content for the new policy. The policy is created using the CreatePolicy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-