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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PolicyGrantMember.BuildercreatedAt(Instant createdAt)Specifies the timestamp at which policy grant member was created.PolicyGrantMember.BuildercreatedBy(String createdBy)Specifies the user who created the policy grant member.default PolicyGrantMember.Builderdetail(Consumer<PolicyGrantDetail.Builder> detail)The details of the policy grant member.PolicyGrantMember.Builderdetail(PolicyGrantDetail detail)The details of the policy grant member.default PolicyGrantMember.Builderprincipal(Consumer<PolicyGrantPrincipal.Builder> principal)The principal of the policy grant member.PolicyGrantMember.Builderprincipal(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, sdkFields
-
-
-
-
Method Detail
-
createdAt
PolicyGrantMember.Builder createdAt(Instant 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
PolicyGrantMember.Builder createdBy(String 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
PolicyGrantMember.Builder detail(PolicyGrantDetail 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
default PolicyGrantMember.Builder detail(Consumer<PolicyGrantDetail.Builder> 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:
detail(PolicyGrantDetail)
-
principal
PolicyGrantMember.Builder principal(PolicyGrantPrincipal 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
default PolicyGrantMember.Builder principal(Consumer<PolicyGrantPrincipal.Builder> 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:
principal(PolicyGrantPrincipal)
-
-