@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AssessmentReportsDestination |
getDefaultAssessmentReportsDestination()
The default storage destination for assessment reports.
|
List<Role> |
getDefaultProcessOwners()
A list of the default audit owners.
|
String |
getKmsKey()
The KMS key details.
|
String |
getSnsTopic()
The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.
|
int |
hashCode() |
void |
setDefaultAssessmentReportsDestination(AssessmentReportsDestination defaultAssessmentReportsDestination)
The default storage destination for assessment reports.
|
void |
setDefaultProcessOwners(Collection<Role> defaultProcessOwners)
A list of the default audit owners.
|
void |
setKmsKey(String kmsKey)
The KMS key details.
|
void |
setSnsTopic(String snsTopic)
The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSettingsRequest |
withDefaultAssessmentReportsDestination(AssessmentReportsDestination defaultAssessmentReportsDestination)
The default storage destination for assessment reports.
|
UpdateSettingsRequest |
withDefaultProcessOwners(Collection<Role> defaultProcessOwners)
A list of the default audit owners.
|
UpdateSettingsRequest |
withDefaultProcessOwners(Role... defaultProcessOwners)
A list of the default audit owners.
|
UpdateSettingsRequest |
withKmsKey(String kmsKey)
The KMS key details.
|
UpdateSettingsRequest |
withSnsTopic(String snsTopic)
The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.
|
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 setSnsTopic(String snsTopic)
The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.
snsTopic
- The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.public String getSnsTopic()
The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.
public UpdateSettingsRequest withSnsTopic(String snsTopic)
The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.
snsTopic
- The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.public void setDefaultAssessmentReportsDestination(AssessmentReportsDestination defaultAssessmentReportsDestination)
The default storage destination for assessment reports.
defaultAssessmentReportsDestination
- The default storage destination for assessment reports.public AssessmentReportsDestination getDefaultAssessmentReportsDestination()
The default storage destination for assessment reports.
public UpdateSettingsRequest withDefaultAssessmentReportsDestination(AssessmentReportsDestination defaultAssessmentReportsDestination)
The default storage destination for assessment reports.
defaultAssessmentReportsDestination
- The default storage destination for assessment reports.public List<Role> getDefaultProcessOwners()
A list of the default audit owners.
public void setDefaultProcessOwners(Collection<Role> defaultProcessOwners)
A list of the default audit owners.
defaultProcessOwners
- A list of the default audit owners.public UpdateSettingsRequest withDefaultProcessOwners(Role... defaultProcessOwners)
A list of the default audit owners.
NOTE: This method appends the values to the existing list (if any). Use
setDefaultProcessOwners(java.util.Collection)
or withDefaultProcessOwners(java.util.Collection)
if you want to override the existing values.
defaultProcessOwners
- A list of the default audit owners.public UpdateSettingsRequest withDefaultProcessOwners(Collection<Role> defaultProcessOwners)
A list of the default audit owners.
defaultProcessOwners
- A list of the default audit owners.public void setKmsKey(String kmsKey)
The KMS key details.
kmsKey
- The KMS key details.public String getKmsKey()
The KMS key details.
public UpdateSettingsRequest withKmsKey(String kmsKey)
The KMS key details.
kmsKey
- The KMS key details.public String toString()
toString
in class Object
Object.toString()
public UpdateSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()