@Generated(value="software.amazon.awssdk:codegen") public final class GetDataProtectionPolicyResponse extends CloudWatchLogsResponse implements ToCopyableBuilder<GetDataProtectionPolicyResponse.Builder,GetDataProtectionPolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetDataProtectionPolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetDataProtectionPolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastUpdatedTime()
The date and time that this policy was most recently updated.
|
String |
logGroupIdentifier()
The log group name or ARN that you specified in your request.
|
String |
policyDocument()
The data protection policy document for this log group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDataProtectionPolicyResponse.Builder> |
serializableBuilderClass() |
GetDataProtectionPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String logGroupIdentifier()
The log group name or ARN that you specified in your request.
public final String policyDocument()
The data protection policy document for this log group.
public final Long lastUpdatedTime()
The date and time that this policy was most recently updated.
public GetDataProtectionPolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetDataProtectionPolicyResponse.Builder,GetDataProtectionPolicyResponse>toBuilder in class AwsResponsepublic static GetDataProtectionPolicyResponse.Builder builder()
public static Class<? extends GetDataProtectionPolicyResponse.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 © 2023. All rights reserved.