Interface PolicyToPath.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyToPath.Builder,PolicyToPath>,SdkBuilder<PolicyToPath.Builder,PolicyToPath>,SdkPojo
- Enclosing class:
- PolicyToPath
public static interface PolicyToPath.Builder extends SdkPojo, CopyableBuilder<PolicyToPath.Builder,PolicyToPath>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyToPath.Builderpath(String path)The path that is referenced from the root.PolicyToPath.Builderpolicies(Collection<PolicyAttachment> policies)List of policy objects.PolicyToPath.Builderpolicies(Consumer<PolicyAttachment.Builder>... policies)List of policy objects.PolicyToPath.Builderpolicies(PolicyAttachment... policies)List of policy objects.-
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
-
path
PolicyToPath.Builder path(String 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
PolicyToPath.Builder policies(Collection<PolicyAttachment> 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
PolicyToPath.Builder policies(PolicyAttachment... 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
PolicyToPath.Builder policies(Consumer<PolicyAttachment.Builder>... 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 to#policies(List.) - 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:
#policies(java.util.Collection)
-
-