@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMacieSessionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMacieSessionResult() |
Modifier and Type | Method and Description |
---|---|
GetMacieSessionResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
|
String |
getFindingPublishingFrequency()
The frequency with which Amazon Macie publishes updates to policy findings for the account.
|
String |
getServiceRole()
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in
Amazon Web Services resources for the account.
|
String |
getStatus()
The current status of the Amazon Macie account.
|
Date |
getUpdatedAt()
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon
Macie account.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
|
void |
setFindingPublishingFrequency(String findingPublishingFrequency)
The frequency with which Amazon Macie publishes updates to policy findings for the account.
|
void |
setServiceRole(String serviceRole)
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in
Amazon Web Services resources for the account.
|
void |
setStatus(String status)
The current status of the Amazon Macie account.
|
void |
setUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon
Macie account.
|
String |
toString()
Returns a string representation of this object.
|
GetMacieSessionResult |
withCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
|
GetMacieSessionResult |
withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
The frequency with which Amazon Macie publishes updates to policy findings for the account.
|
GetMacieSessionResult |
withFindingPublishingFrequency(String findingPublishingFrequency)
The frequency with which Amazon Macie publishes updates to policy findings for the account.
|
GetMacieSessionResult |
withServiceRole(String serviceRole)
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in
Amazon Web Services resources for the account.
|
GetMacieSessionResult |
withStatus(MacieStatus status)
The current status of the Amazon Macie account.
|
GetMacieSessionResult |
withStatus(String status)
The current status of the Amazon Macie account.
|
GetMacieSessionResult |
withUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon
Macie account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
createdAt
- The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.public Date getCreatedAt()
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
public GetMacieSessionResult withCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
createdAt
- The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.public void setFindingPublishingFrequency(String findingPublishingFrequency)
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
findingPublishingFrequency
- The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes
publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).FindingPublishingFrequency
public String getFindingPublishingFrequency()
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
FindingPublishingFrequency
public GetMacieSessionResult withFindingPublishingFrequency(String findingPublishingFrequency)
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
findingPublishingFrequency
- The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes
publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).FindingPublishingFrequency
public GetMacieSessionResult withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
findingPublishingFrequency
- The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes
publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).FindingPublishingFrequency
public void setServiceRole(String serviceRole)
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.
serviceRole
- The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze
data in Amazon Web Services resources for the account.public String getServiceRole()
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.
public GetMacieSessionResult withServiceRole(String serviceRole)
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.
serviceRole
- The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze
data in Amazon Web Services resources for the account.public void setStatus(String status)
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.
status
- The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but
all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all
Macie activities are enabled for the account.MacieStatus
public String getStatus()
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.
MacieStatus
public GetMacieSessionResult withStatus(String status)
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.
status
- The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but
all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all
Macie activities are enabled for the account.MacieStatus
public GetMacieSessionResult withStatus(MacieStatus status)
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.
status
- The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but
all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all
Macie activities are enabled for the account.MacieStatus
public void setUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.
updatedAt
- The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the
Amazon Macie account.public Date getUpdatedAt()
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.
public GetMacieSessionResult withUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.
updatedAt
- The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the
Amazon Macie account.public String toString()
toString
in class Object
Object.toString()
public GetMacieSessionResult clone()