@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeneratedPolicyProperties extends Object implements Serializable, Cloneable, StructuredPojo
Contains the generated policy details.
| Constructor and Description |
|---|
GeneratedPolicyProperties() |
| Modifier and Type | Method and Description |
|---|---|
GeneratedPolicyProperties |
clone() |
boolean |
equals(Object obj) |
CloudTrailProperties |
getCloudTrailProperties()
Lists details about the
Trail used to generated policy. |
Boolean |
getIsComplete()
This value is set to
true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise. |
String |
getPrincipalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
int |
hashCode() |
Boolean |
isComplete()
This value is set to
true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCloudTrailProperties(CloudTrailProperties cloudTrailProperties)
Lists details about the
Trail used to generated policy. |
void |
setIsComplete(Boolean isComplete)
This value is set to
true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise. |
void |
setPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
String |
toString()
Returns a string representation of this object.
|
GeneratedPolicyProperties |
withCloudTrailProperties(CloudTrailProperties cloudTrailProperties)
Lists details about the
Trail used to generated policy. |
GeneratedPolicyProperties |
withIsComplete(Boolean isComplete)
This value is set to
true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise. |
GeneratedPolicyProperties |
withPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
public void setIsComplete(Boolean isComplete)
This value is set to true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.
isComplete - This value is set to true if the generated policy contains all possible actions for a service
that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false
otherwise.public Boolean getIsComplete()
This value is set to true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.
true if the generated policy contains all possible actions for a
service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and
false otherwise.public GeneratedPolicyProperties withIsComplete(Boolean isComplete)
This value is set to true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.
isComplete - This value is set to true if the generated policy contains all possible actions for a service
that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false
otherwise.public Boolean isComplete()
This value is set to true if the generated policy contains all possible actions for a service that
IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.
true if the generated policy contains all possible actions for a
service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and
false otherwise.public void setPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
principalArn - The ARN of the IAM entity (user or role) for which you are generating a policy.public String getPrincipalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
public GeneratedPolicyProperties withPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
principalArn - The ARN of the IAM entity (user or role) for which you are generating a policy.public void setCloudTrailProperties(CloudTrailProperties cloudTrailProperties)
Lists details about the Trail used to generated policy.
cloudTrailProperties - Lists details about the Trail used to generated policy.public CloudTrailProperties getCloudTrailProperties()
Lists details about the Trail used to generated policy.
Trail used to generated policy.public GeneratedPolicyProperties withCloudTrailProperties(CloudTrailProperties cloudTrailProperties)
Lists details about the Trail used to generated policy.
cloudTrailProperties - Lists details about the Trail used to generated policy.public String toString()
toString in class ObjectObject.toString()public GeneratedPolicyProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.