Interface Policy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Policy.Builder,,Policy> SdkBuilder<Policy.Builder,,Policy> SdkPojo
- Enclosing class:
Policy
-
Method Summary
Modifier and TypeMethodDescriptionThe text content of the policy.default Policy.BuilderpolicySummary(Consumer<PolicySummary.Builder> policySummary) A structure that contains additional details about the policy.policySummary(PolicySummary policySummary) A structure that contains additional details about the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
policySummary
A structure that contains additional details about the policy.
- Parameters:
policySummary- A structure that contains additional details about the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policySummary
A structure that contains additional details about the policy.
This is a convenience method that creates an instance of thePolicySummary.Builderavoiding the need to create one manually viaPolicySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicySummary(PolicySummary).- Parameters:
policySummary- a consumer that will call methods onPolicySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
The text content of the policy.
- Parameters:
content- The text content of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-