@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
Amazon Web Services 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 final Instant createdAt()
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
public final 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).
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 final String findingPublishingFrequencyAsString()
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).
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 final 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.
public final 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.
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 final String statusAsString()
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.
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 final 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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.