Interface PolicyGrantMember.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyGrantMember.Builder,,PolicyGrantMember> SdkBuilder<PolicyGrantMember.Builder,,PolicyGrantMember> SdkPojo
- Enclosing class:
PolicyGrantMember
public static interface PolicyGrantMember.Builder
extends SdkPojo, CopyableBuilder<PolicyGrantMember.Builder,PolicyGrantMember>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the timestamp at which policy grant member was created.Specifies the user who created the policy grant member.default PolicyGrantMember.Builderdetail(Consumer<PolicyGrantDetail.Builder> detail) The details of the policy grant member.detail(PolicyGrantDetail detail) The details of the policy grant member.default PolicyGrantMember.Builderprincipal(Consumer<PolicyGrantPrincipal.Builder> principal) The principal of the policy grant member.principal(PolicyGrantPrincipal principal) The principal of the policy grant member.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
-
createdAt
Specifies the timestamp at which policy grant member was created.
- Parameters:
createdAt- Specifies the timestamp at which policy grant member was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Specifies the user who created the policy grant member.
- Parameters:
createdBy- Specifies the user who created the policy grant member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
The details of the policy grant member.
- Parameters:
detail- The details of the policy grant member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
The details of the policy grant member.
This is a convenience method that creates an instance of thePolicyGrantDetail.Builderavoiding the need to create one manually viaPolicyGrantDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetail(PolicyGrantDetail).- Parameters:
detail- a consumer that will call methods onPolicyGrantDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principal
The principal of the policy grant member.
- Parameters:
principal- The principal of the policy grant member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal of the policy grant member.
This is a convenience method that creates an instance of thePolicyGrantPrincipal.Builderavoiding the need to create one manually viaPolicyGrantPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(PolicyGrantPrincipal).- Parameters:
principal- a consumer that will call methods onPolicyGrantPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-