Interface GeneratedPolicyProperties.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GeneratedPolicyProperties.Builder,,- GeneratedPolicyProperties> - SdkBuilder<GeneratedPolicyProperties.Builder,,- GeneratedPolicyProperties> - SdkPojo
- Enclosing class:
- GeneratedPolicyProperties
@Mutable
@NotThreadSafe
public static interface GeneratedPolicyProperties.Builder
extends SdkPojo, CopyableBuilder<GeneratedPolicyProperties.Builder,GeneratedPolicyProperties> 
- 
Method SummaryModifier and TypeMethodDescriptioncloudTrailProperties(Consumer<CloudTrailProperties.Builder> cloudTrailProperties) Lists details about theTrailused to generated policy.cloudTrailProperties(CloudTrailProperties cloudTrailProperties) Lists details about theTrailused to generated policy.isComplete(Boolean isComplete) 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.principalArn(String principalArn) The ARN of the IAM entity (user or role) for which you are generating a policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
isCompleteThis 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.- Parameters:
- 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, and- falseotherwise.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
principalArnThe ARN of the IAM entity (user or role) for which you are generating a policy. - Parameters:
- principalArn- The ARN of the IAM entity (user or role) for which you are generating a policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cloudTrailPropertiesLists details about the Trailused to generated policy.- Parameters:
- cloudTrailProperties- Lists details about the- Trailused to generated policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cloudTrailPropertiesdefault GeneratedPolicyProperties.Builder cloudTrailProperties(Consumer<CloudTrailProperties.Builder> cloudTrailProperties) Lists details about the This is a convenience method that creates an instance of theTrailused to generated policy.CloudTrailProperties.Builderavoiding the need to create one manually viaCloudTrailProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudTrailProperties(CloudTrailProperties).- Parameters:
- cloudTrailProperties- a consumer that will call methods on- CloudTrailProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-