@Generated(value="software.amazon.awssdk:codegen") public class ResourcePolicy extends Object implements StructuredPojo, 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()
Time stamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
policyDocument()
The details of the policy.
|
String |
policyName()
The name of the resource policy.
|
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()
Time stamp 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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.