Interface PolicyGrantMember.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyGrantMember.Builder,
,PolicyGrantMember> SdkBuilder<PolicyGrantMember.Builder,
,PolicyGrantMember> SdkPojo
- Enclosing class:
PolicyGrantMember
@Mutable
@NotThreadSafe
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.Builder
detail
(Consumer<PolicyGrantDetail.Builder> detail) The details of the policy grant member.detail
(PolicyGrantDetail detail) The details of the policy grant member.default PolicyGrantMember.Builder
principal
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaPolicyGrantDetail.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaPolicyGrantPrincipal.builder()
.When the
Consumer
completes,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:
-