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) parameters(Consumer<PolicyParameter.Builder>... parameters) This is a convenience method that creates an instance of thePolicyParameter.Builderavoiding the need to create one manually viaPolicyParameter.builder().parameters(PolicyParameter... parameters) policyTemplateArn(String policyTemplateArn) Sets the value of the PolicyTemplateArn property for this object.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
Sets the value of the PolicyTemplateArn property for this object.- Parameters:
policyTemplateArn- The new value for the PolicyTemplateArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
- Parameters:
parameters-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
- Parameters:
parameters-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
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:
-