Class GetMacieSessionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.macie2.model.Macie2Response
-
- software.amazon.awssdk.services.macie2.model.GetMacieSessionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetMacieSessionResponse.Builder,GetMacieSessionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetMacieSessionResponse extends Macie2Response implements ToCopyableBuilder<GetMacieSessionResponse.Builder,GetMacieSessionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetMacieSessionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMacieSessionResponse.Builderbuilder()InstantcreatedAt()The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FindingPublishingFrequencyfindingPublishingFrequency()The frequency with which Amazon Macie publishes updates to policy findings for the account.StringfindingPublishingFrequencyAsString()The frequency with which Amazon Macie publishes updates to policy findings for the account.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GetMacieSessionResponse.Builder>serializableBuilderClass()StringserviceRole()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.MacieStatusstatus()The current status of the Amazon Macie account.StringstatusAsString()The current status of the Amazon Macie account.GetMacieSessionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status or configuration settings for the Amazon Macie account.-
Methods inherited from class software.amazon.awssdk.services.macie2.model.Macie2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdAt
public final Instant createdAt()
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
- Returns:
- The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
-
findingPublishingFrequency
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 Amazon CloudWatch Events).
If the service returns an enum value that is not available in the current SDK version,
findingPublishingFrequencywill returnFindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingPublishingFrequencyAsString().- Returns:
- 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 Amazon CloudWatch Events).
- See Also:
FindingPublishingFrequency
-
findingPublishingFrequencyAsString
public 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 Amazon CloudWatch Events).
If the service returns an enum value that is not available in the current SDK version,
findingPublishingFrequencywill returnFindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingPublishingFrequencyAsString().- Returns:
- 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 Amazon CloudWatch Events).
- See Also:
FindingPublishingFrequency
-
serviceRole
public 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.
- Returns:
- 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.
-
status
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,
statuswill returnMacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
- See Also:
MacieStatus
-
statusAsString
public 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,
statuswill returnMacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
- See Also:
MacieStatus
-
updatedAt
public final Instant updatedAt()
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status or configuration settings for the Amazon Macie account.
- Returns:
- The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status or configuration settings for the Amazon Macie account.
-
toBuilder
public GetMacieSessionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMacieSessionResponse.Builder,GetMacieSessionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetMacieSessionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMacieSessionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-