Class EffectivePolicy
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.EffectivePolicy
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EffectivePolicy.Builder,EffectivePolicy>
@Generated("software.amazon.awssdk:codegen") public final class EffectivePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EffectivePolicy.Builder,EffectivePolicy>
The policy that has the effect on the authorization results.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EffectivePolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EffectivePolicy.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
policyArn()
The policy ARN.String
policyDocument()
The IAM policy document.String
policyName()
The policy name.List<SdkField<?>>
sdkFields()
static Class<? extends EffectivePolicy.Builder>
serializableBuilderClass()
EffectivePolicy.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
policyName
public final String policyName()
The policy name.
- Returns:
- The policy name.
-
policyArn
public final String policyArn()
The policy ARN.
- Returns:
- The policy ARN.
-
policyDocument
public final String policyDocument()
The IAM policy document.
- Returns:
- The IAM policy document.
-
toBuilder
public EffectivePolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<EffectivePolicy.Builder,EffectivePolicy>
-
builder
public static EffectivePolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends EffectivePolicy.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-