@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Settings extends Object implements Serializable, Cloneable, StructuredPojo
The settings object that holds all supported AWS Audit Manager settings.
Constructor and Description |
---|
Settings() |
Modifier and Type | Method and Description |
---|---|
Settings |
clone() |
boolean |
equals(Object obj) |
AssessmentReportsDestination |
getDefaultAssessmentReportsDestination()
The default storage destination for assessment reports.
|
List<Role> |
getDefaultProcessOwners()
The designated default audit owners.
|
Boolean |
getIsAwsOrgEnabled()
Specifies whether AWS Organizations is enabled.
|
String |
getKmsKey()
The AWS KMS key details.
|
String |
getSnsTopic()
The designated Amazon Simple Notification Service (Amazon SNS) topic.
|
int |
hashCode() |
Boolean |
isAwsOrgEnabled()
Specifies whether AWS Organizations is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultAssessmentReportsDestination(AssessmentReportsDestination defaultAssessmentReportsDestination)
The default storage destination for assessment reports.
|
void |
setDefaultProcessOwners(Collection<Role> defaultProcessOwners)
The designated default audit owners.
|
void |
setIsAwsOrgEnabled(Boolean isAwsOrgEnabled)
Specifies whether AWS Organizations is enabled.
|
void |
setKmsKey(String kmsKey)
The AWS KMS key details.
|
void |
setSnsTopic(String snsTopic)
The designated Amazon Simple Notification Service (Amazon SNS) topic.
|
String |
toString()
Returns a string representation of this object.
|
Settings |
withDefaultAssessmentReportsDestination(AssessmentReportsDestination defaultAssessmentReportsDestination)
The default storage destination for assessment reports.
|
Settings |
withDefaultProcessOwners(Collection<Role> defaultProcessOwners)
The designated default audit owners.
|
Settings |
withDefaultProcessOwners(Role... defaultProcessOwners)
The designated default audit owners.
|
Settings |
withIsAwsOrgEnabled(Boolean isAwsOrgEnabled)
Specifies whether AWS Organizations is enabled.
|
Settings |
withKmsKey(String kmsKey)
The AWS KMS key details.
|
Settings |
withSnsTopic(String snsTopic)
The designated Amazon Simple Notification Service (Amazon SNS) topic.
|
public void setIsAwsOrgEnabled(Boolean isAwsOrgEnabled)
Specifies whether AWS Organizations is enabled.
isAwsOrgEnabled
- Specifies whether AWS Organizations is enabled.public Boolean getIsAwsOrgEnabled()
Specifies whether AWS Organizations is enabled.
public Settings withIsAwsOrgEnabled(Boolean isAwsOrgEnabled)
Specifies whether AWS Organizations is enabled.
isAwsOrgEnabled
- Specifies whether AWS Organizations is enabled.public Boolean isAwsOrgEnabled()
Specifies whether AWS Organizations is enabled.
public void setSnsTopic(String snsTopic)
The designated Amazon Simple Notification Service (Amazon SNS) topic.
snsTopic
- The designated Amazon Simple Notification Service (Amazon SNS) topic.public String getSnsTopic()
The designated Amazon Simple Notification Service (Amazon SNS) topic.
public Settings withSnsTopic(String snsTopic)
The designated Amazon Simple Notification Service (Amazon SNS) topic.
snsTopic
- The designated Amazon Simple Notification Service (Amazon SNS) topic.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 Settings withDefaultAssessmentReportsDestination(AssessmentReportsDestination defaultAssessmentReportsDestination)
The default storage destination for assessment reports.
defaultAssessmentReportsDestination
- The default storage destination for assessment reports.public List<Role> getDefaultProcessOwners()
The designated default audit owners.
public void setDefaultProcessOwners(Collection<Role> defaultProcessOwners)
The designated default audit owners.
defaultProcessOwners
- The designated default audit owners.public Settings withDefaultProcessOwners(Role... defaultProcessOwners)
The designated 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
- The designated default audit owners.public Settings withDefaultProcessOwners(Collection<Role> defaultProcessOwners)
The designated default audit owners.
defaultProcessOwners
- The designated default audit owners.public void setKmsKey(String kmsKey)
The AWS KMS key details.
kmsKey
- The AWS KMS key details.public String getKmsKey()
The AWS KMS key details.
public Settings withKmsKey(String kmsKey)
The AWS KMS key details.
kmsKey
- The AWS KMS key details.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.