Interface PolicyToPath.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyToPath.Builder,,PolicyToPath> SdkBuilder<PolicyToPath.Builder,,PolicyToPath> SdkPojo
- Enclosing class:
PolicyToPath
@Mutable
@NotThreadSafe
public static interface PolicyToPath.Builder
extends SdkPojo, CopyableBuilder<PolicyToPath.Builder,PolicyToPath>
-
Method Summary
Modifier and TypeMethodDescriptionThe path that is referenced from the root.policies(Collection<PolicyAttachment> policies) List of policy objects.policies(Consumer<PolicyAttachment.Builder>... policies) List of policy objects.policies(PolicyAttachment... policies) List of policy objects.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, sdkFieldNameToField, sdkFields
-
Method Details
-
path
The path that is referenced from the root.
- Parameters:
path- The path that is referenced from the root.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
List of policy objects.
- Parameters:
policies- List of policy objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
List of policy objects.
- Parameters:
policies- List of policy objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
List of policy objects.
This is a convenience method that creates an instance of thePolicyAttachment.Builderavoiding the need to create one manually viaPolicyAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicies(List<PolicyAttachment>).- Parameters:
policies- a consumer that will call methods onPolicyAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-