Interface PolicyIdentifier.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyIdentifier.Builder,,PolicyIdentifier> SdkBuilder<PolicyIdentifier.Builder,,PolicyIdentifier> SdkPojo
- Enclosing class:
PolicyIdentifier
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyIdentifier.BuilderinlinePolicyIdentifier(Consumer<InlinePolicyIdentifierType.Builder> inlinePolicyIdentifier) An inline policy identifier consisting of a policy name and the entity it is attached to.inlinePolicyIdentifier(InlinePolicyIdentifierType inlinePolicyIdentifier) An inline policy identifier consisting of a policy name and the entity it is attached to.The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a customer managed policy that is attached to an IAM user, group, or role.policyType(String policyType) The policy type to identify.policyType(PolicyIdentifierPolicyType policyType) The policy type to identify.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyType
The policy type to identify. All policies of the specified type are matched.
- Parameters:
policyType- The policy type to identify. All policies of the specified type are matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The policy type to identify. All policies of the specified type are matched.
- Parameters:
policyType- The policy type to identify. All policies of the specified type are matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyArn
The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a customer managed policy that is attached to an IAM user, group, or role. Wildcard characters are supported in the resource name portion of the ARN to match multiple managed policies: use at most one
*(matches any sequence of characters, including none), and any number of?(each matches exactly one character).For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Parameters:
policyArn- The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a customer managed policy that is attached to an IAM user, group, or role. Wildcard characters are supported in the resource name portion of the ARN to match multiple managed policies: use at most one*(matches any sequence of characters, including none), and any number of?(each matches exactly one character).For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlinePolicyIdentifier
An inline policy identifier consisting of a policy name and the entity it is attached to. Wildcard characters (
*and?) in the entity name can match multiple entities.- Parameters:
inlinePolicyIdentifier- An inline policy identifier consisting of a policy name and the entity it is attached to. Wildcard characters (*and?) in the entity name can match multiple entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlinePolicyIdentifier
default PolicyIdentifier.Builder inlinePolicyIdentifier(Consumer<InlinePolicyIdentifierType.Builder> inlinePolicyIdentifier) An inline policy identifier consisting of a policy name and the entity it is attached to. Wildcard characters (
This is a convenience method that creates an instance of the*and?) in the entity name can match multiple entities.InlinePolicyIdentifierType.Builderavoiding the need to create one manually viaInlinePolicyIdentifierType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinlinePolicyIdentifier(InlinePolicyIdentifierType).- Parameters:
inlinePolicyIdentifier- a consumer that will call methods onInlinePolicyIdentifierType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-