@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptInvitationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AcceptInvitationRequest() |
Modifier and Type | Method and Description |
---|---|
AcceptInvitationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInvitationId()
The ID of the invitation sent from the Security Hub master account.
|
String |
getMasterId()
The account ID of the Security Hub master account that sent the invitation.
|
int |
hashCode() |
void |
setInvitationId(String invitationId)
The ID of the invitation sent from the Security Hub master account.
|
void |
setMasterId(String masterId)
The account ID of the Security Hub master account that sent the invitation.
|
String |
toString()
Returns a string representation of this object.
|
AcceptInvitationRequest |
withInvitationId(String invitationId)
The ID of the invitation sent from the Security Hub master account.
|
AcceptInvitationRequest |
withMasterId(String masterId)
The account ID of the Security Hub master account that sent the invitation.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMasterId(String masterId)
The account ID of the Security Hub master account that sent the invitation.
masterId
- The account ID of the Security Hub master account that sent the invitation.public String getMasterId()
The account ID of the Security Hub master account that sent the invitation.
public AcceptInvitationRequest withMasterId(String masterId)
The account ID of the Security Hub master account that sent the invitation.
masterId
- The account ID of the Security Hub master account that sent the invitation.public void setInvitationId(String invitationId)
The ID of the invitation sent from the Security Hub master account.
invitationId
- The ID of the invitation sent from the Security Hub master account.public String getInvitationId()
The ID of the invitation sent from the Security Hub master account.
public AcceptInvitationRequest withInvitationId(String invitationId)
The ID of the invitation sent from the Security Hub master account.
invitationId
- The ID of the invitation sent from the Security Hub master account.public String toString()
toString
in class Object
Object.toString()
public AcceptInvitationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()