@Generated(value="software.amazon.awssdk:codegen") public final class ResourcePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourcePolicy.Builder,ResourcePolicy>
A policy enabling one or more entities to put logs to a log group in this account.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourcePolicy.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourcePolicy.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastUpdatedTime()
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.
|
String |
policyDocument()
The details of the policy.
|
String |
policyName()
The name of the resource policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourcePolicy.Builder> |
serializableBuilderClass() |
ResourcePolicy.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String policyName()
The name of the resource policy.
public String policyDocument()
The details of the policy.
public Long lastUpdatedTime()
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public ResourcePolicy.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourcePolicy.Builder,ResourcePolicy>
public static ResourcePolicy.Builder builder()
public static Class<? extends ResourcePolicy.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.