Class GeneratedPolicyProperties
- java.lang.Object
-
- software.amazon.awssdk.services.accessanalyzer.model.GeneratedPolicyProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GeneratedPolicyProperties.Builder,GeneratedPolicyProperties>
@Generated("software.amazon.awssdk:codegen") public final class GeneratedPolicyProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GeneratedPolicyProperties.Builder,GeneratedPolicyProperties>
Contains the generated policy details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeneratedPolicyProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneratedPolicyProperties.Builderbuilder()CloudTrailPropertiescloudTrailProperties()Lists details about theTrailused to generated policy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisComplete()This value is set totrueif the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, andfalseotherwise.StringprincipalArn()The ARN of the IAM entity (user or role) for which you are generating a policy.List<SdkField<?>>sdkFields()static Class<? extends GeneratedPolicyProperties.Builder>serializableBuilderClass()GeneratedPolicyProperties.BuildertoBuilder()StringtoString()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
-
isComplete
public final Boolean isComplete()
This value is set to
trueif the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, andfalseotherwise.- Returns:
- This value is set to
trueif the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, andfalseotherwise.
-
principalArn
public final String principalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
- Returns:
- The ARN of the IAM entity (user or role) for which you are generating a policy.
-
cloudTrailProperties
public final CloudTrailProperties cloudTrailProperties()
Lists details about the
Trailused to generated policy.- Returns:
- Lists details about the
Trailused to generated policy.
-
toBuilder
public GeneratedPolicyProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeneratedPolicyProperties.Builder,GeneratedPolicyProperties>
-
builder
public static GeneratedPolicyProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends GeneratedPolicyProperties.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-