StructuredPojo
, ToCopyableBuilder<Policy.Builder,Policy>
@Generated("software.amazon.awssdk:codegen") public class Policy extends Object implements StructuredPojo, ToCopyableBuilder<Policy.Builder,Policy>
Describes an AWS IoT policy.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Policy.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Policy.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
policyArn() |
The policy ARN.
|
String |
policyName() |
The policy name.
|
static Class<? extends Policy.Builder> |
serializableBuilderClass() |
|
Policy.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String policyName()
The policy name.
public String policyArn()
The policy ARN.
public Policy.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Policy.Builder,Policy>
public static Policy.Builder builder()
public static Class<? extends Policy.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.