Interface DelegationPermission.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DelegationPermission.Builder,,DelegationPermission> SdkBuilder<DelegationPermission.Builder,,DelegationPermission> SdkPojo
- Enclosing class:
DelegationPermission
@Mutable
@NotThreadSafe
public static interface DelegationPermission.Builder
extends SdkPojo, CopyableBuilder<DelegationPermission.Builder,DelegationPermission>
-
Method Summary
Modifier and TypeMethodDescriptionparameters(Collection<PolicyParameter> parameters) A list of policy parameters that define the scope and constraints of the delegated permissions.parameters(Consumer<PolicyParameter.Builder>... parameters) A list of policy parameters that define the scope and constraints of the delegated permissions.parameters(PolicyParameter... parameters) A list of policy parameters that define the scope and constraints of the delegated permissions.policyTemplateArn(String policyTemplateArn) This ARN maps to a pre-registered policy content for this partner.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
-
policyTemplateArn
This ARN maps to a pre-registered policy content for this partner. See the partner onboarding documentation to understand how to create a delegation template.
- Parameters:
policyTemplateArn- This ARN maps to a pre-registered policy content for this partner. See the partner onboarding documentation to understand how to create a delegation template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of policy parameters that define the scope and constraints of the delegated permissions.
- Parameters:
parameters- A list of policy parameters that define the scope and constraints of the delegated permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of policy parameters that define the scope and constraints of the delegated permissions.
- Parameters:
parameters- A list of policy parameters that define the scope and constraints of the delegated permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of policy parameters that define the scope and constraints of the delegated permissions.
This is a convenience method that creates an instance of thePolicyParameter.Builderavoiding the need to create one manually viaPolicyParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(List<PolicyParameter>).- Parameters:
parameters- a consumer that will call methods onPolicyParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-