@Generated(value="software.amazon.awssdk:codegen") public final class GetMacieSessionResponse extends Macie2Response implements ToCopyableBuilder<GetMacieSessionResponse.Builder,GetMacieSessionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetMacieSessionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetMacieSessionResponse.Builder |
builder() |
Instant |
createdAt()
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FindingPublishingFrequency |
findingPublishingFrequency()
The frequency with which Amazon Macie publishes updates to policy findings for the account.
|
String |
findingPublishingFrequencyAsString()
The frequency with which Amazon Macie publishes updates to policy findings for the account.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetMacieSessionResponse.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in
AWS resources for the account.
|
MacieStatus |
status()
The current status of the Amazon Macie account.
|
String |
statusAsString()
The current status of the Amazon Macie account.
|
GetMacieSessionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
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.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Instant createdAt()
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
public FindingPublishingFrequency findingPublishingFrequency()
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
If the service returns an enum value that is not available in the current SDK version,
findingPublishingFrequency will return FindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from findingPublishingFrequencyAsString().
FindingPublishingFrequencypublic String findingPublishingFrequencyAsString()
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
If the service returns an enum value that is not available in the current SDK version,
findingPublishingFrequency will return FindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from findingPublishingFrequencyAsString().
FindingPublishingFrequencypublic String serviceRole()
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in AWS resources for the account.
public MacieStatus status()
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Amazon Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Amazon Macie activities are enabled for the account.
If the service returns an enum value that is not available in the current SDK version, status will
return MacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
MacieStatuspublic String statusAsString()
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Amazon Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Amazon Macie activities are enabled for the account.
If the service returns an enum value that is not available in the current SDK version, status will
return MacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
MacieStatuspublic Instant 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 GetMacieSessionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetMacieSessionResponse.Builder,GetMacieSessionResponse>toBuilder in class AwsResponsepublic static GetMacieSessionResponse.Builder builder()
public static Class<? extends GetMacieSessionResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.