@Generated(value="software.amazon.awssdk:codegen") public final class PolicyAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyAttachment.Builder,PolicyAttachment>
Contains the PolicyType
, PolicyId
, and the ObjectIdentifier
to which it is
attached. For more information, see Policies.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyAttachment.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyAttachment.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
objectIdentifier()
The
ObjectIdentifier that is associated with PolicyAttachment . |
String |
policyId()
The ID of
PolicyAttachment . |
String |
policyType()
The type of policy that can be associated with
PolicyAttachment . |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyAttachment.Builder> |
serializableBuilderClass() |
PolicyAttachment.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 policyId()
The ID of PolicyAttachment
.
PolicyAttachment
.public String objectIdentifier()
The ObjectIdentifier
that is associated with PolicyAttachment
.
ObjectIdentifier
that is associated with PolicyAttachment
.public String policyType()
The type of policy that can be associated with PolicyAttachment
.
PolicyAttachment
.public PolicyAttachment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyAttachment.Builder,PolicyAttachment>
public static PolicyAttachment.Builder builder()
public static Class<? extends PolicyAttachment.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.