public static final class CfnMemberProps.Builder
extends java.lang.Object
CfnMemberProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnMemberProps |
build()
Builds the configured instance.
|
CfnMemberProps.Builder |
detectorId(java.lang.String detectorId)
Sets the value of
CfnMemberProps.getDetectorId() |
CfnMemberProps.Builder |
disableEmailNotification(java.lang.Boolean disableEmailNotification)
Sets the value of
CfnMemberProps.getDisableEmailNotification() |
CfnMemberProps.Builder |
disableEmailNotification(IResolvable disableEmailNotification)
Sets the value of
CfnMemberProps.getDisableEmailNotification() |
CfnMemberProps.Builder |
email(java.lang.String email)
Sets the value of
CfnMemberProps.getEmail() |
CfnMemberProps.Builder |
memberId(java.lang.String memberId)
Sets the value of
CfnMemberProps.getMemberId() |
CfnMemberProps.Builder |
message(java.lang.String message)
Sets the value of
CfnMemberProps.getMessage() |
CfnMemberProps.Builder |
status(java.lang.String status)
Sets the value of
CfnMemberProps.getStatus() |
public CfnMemberProps.Builder detectorId(java.lang.String detectorId)
CfnMemberProps.getDetectorId()
detectorId
- The ID of the detector associated with the service to add the member to. This parameter is required.this
public CfnMemberProps.Builder email(java.lang.String email)
CfnMemberProps.getEmail()
email
- The email address associated with the member account. This parameter is required.this
public CfnMemberProps.Builder memberId(java.lang.String memberId)
CfnMemberProps.getMemberId()
memberId
- The AWS account ID of the account to designate as a member. This parameter is required.this
public CfnMemberProps.Builder disableEmailNotification(java.lang.Boolean disableEmailNotification)
CfnMemberProps.getDisableEmailNotification()
disableEmailNotification
- Specifies whether or not to disable email notification for the member account that you invite.this
public CfnMemberProps.Builder disableEmailNotification(IResolvable disableEmailNotification)
CfnMemberProps.getDisableEmailNotification()
disableEmailNotification
- Specifies whether or not to disable email notification for the member account that you invite.this
public CfnMemberProps.Builder message(java.lang.String message)
CfnMemberProps.getMessage()
message
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.this
public CfnMemberProps.Builder status(java.lang.String status)
CfnMemberProps.getStatus()
status
- You can use the `Status` property to update the status of the relationship between the member account and its administrator account.
Valid values are Created
and Invited
when using an AWS::GuardDuty::Member
resource. If the value for this property is not provided or set to Created
, a member account is created but not invited. If the value of this property is set to Invited
, a member account is created and invited.this
public CfnMemberProps build()
CfnMemberProps
java.lang.NullPointerException
- if any required attribute was not provided