Interface Member.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Member.Builder,Member>,SdkBuilder<Member.Builder,Member>,SdkPojo
- Enclosing class:
- Member
public static interface Member.Builder extends SdkPojo, CopyableBuilder<Member.Builder,Member>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Member.BuilderaccountId(String accountId)The Amazon Web Services account ID of the member account.Member.BuilderadministratorId(String administratorId)The Amazon Web Services account ID of the Security Hub administrator account associated with this member account.Member.Builderemail(String email)The email address of the member account.Member.BuilderinvitedAt(Instant invitedAt)A timestamp for the date and time when the invitation was sent to the member account.Member.BuildermasterId(String masterId)Deprecated.This field is deprecated, use AdministratorId instead.Member.BuildermemberStatus(String memberStatus)The status of the relationship between the member account and its administrator account.Member.BuilderupdatedAt(Instant updatedAt)The timestamp for the date and time when the member account was updated.-
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 Detail
-
accountId
Member.Builder accountId(String accountId)
The Amazon Web Services account ID of the member account.
- Parameters:
accountId- The Amazon Web Services account ID of the member account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Member.Builder email(String email)
The email address of the member account.
- Parameters:
email- The email address of the member account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterId
@Deprecated Member.Builder masterId(String masterId)
Deprecated.This field is deprecated, use AdministratorId instead.This is replaced by
AdministratorID.The Amazon Web Services account ID of the Security Hub administrator account associated with this member account.
- Parameters:
masterId- This is replaced byAdministratorID.The Amazon Web Services account ID of the Security Hub administrator account associated with this member account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
administratorId
Member.Builder administratorId(String administratorId)
The Amazon Web Services account ID of the Security Hub administrator account associated with this member account.
- Parameters:
administratorId- The Amazon Web Services account ID of the Security Hub administrator account associated with this member account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberStatus
Member.Builder memberStatus(String memberStatus)
The status of the relationship between the member account and its administrator account.
The status can have one of the following values:
-
Created- Indicates that the administrator account added the member account, but has not yet invited the member account. -
Invited- Indicates that the administrator account invited the member account. The member account has not yet responded to the invitation. -
Enabled- Indicates that the member account is currently active. For manually invited member accounts, indicates that the member account accepted the invitation. -
Removed- Indicates that the administrator account disassociated the member account. -
Resigned- Indicates that the member account disassociated themselves from the administrator account. -
Deleted- Indicates that the administrator account deleted the member account. -
AccountSuspended- Indicates that an organization account was suspended from Amazon Web Services at the same time that the administrator account tried to enable the organization account as a member account.
- Parameters:
memberStatus- The status of the relationship between the member account and its administrator account.The status can have one of the following values:
-
Created- Indicates that the administrator account added the member account, but has not yet invited the member account. -
Invited- Indicates that the administrator account invited the member account. The member account has not yet responded to the invitation. -
Enabled- Indicates that the member account is currently active. For manually invited member accounts, indicates that the member account accepted the invitation. -
Removed- Indicates that the administrator account disassociated the member account. -
Resigned- Indicates that the member account disassociated themselves from the administrator account. -
Deleted- Indicates that the administrator account deleted the member account. -
AccountSuspended- Indicates that an organization account was suspended from Amazon Web Services at the same time that the administrator account tried to enable the organization account as a member account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
invitedAt
Member.Builder invitedAt(Instant invitedAt)
A timestamp for the date and time when the invitation was sent to the member account.
- Parameters:
invitedAt- A timestamp for the date and time when the invitation was sent to the member account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Member.Builder updatedAt(Instant updatedAt)
The timestamp for the date and time when the member account was updated.
- Parameters:
updatedAt- The timestamp for the date and time when the member account was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-