Interface PolicyDefinitionItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyDefinitionItem.Builder,,PolicyDefinitionItem> SdkBuilder<PolicyDefinitionItem.Builder,,PolicyDefinitionItem> SdkPojo
- Enclosing class:
PolicyDefinitionItem
public static interface PolicyDefinitionItem.Builder
extends SdkPojo, CopyableBuilder<PolicyDefinitionItem.Builder,PolicyDefinitionItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyDefinitionItem.BuilderstaticValue(Consumer<StaticPolicyDefinitionItem.Builder> staticValue) Information about a static policy that wasn't created with a policy template.staticValue(StaticPolicyDefinitionItem staticValue) Information about a static policy that wasn't created with a policy template.default PolicyDefinitionItem.BuildertemplateLinked(Consumer<TemplateLinkedPolicyDefinitionItem.Builder> templateLinked) Information about a template-linked policy that was created by instantiating a policy template.templateLinked(TemplateLinkedPolicyDefinitionItem templateLinked) Information about a template-linked policy that was created by instantiating a policy template.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, sdkFields
-
Method Details
-
staticValue
Information about a static policy that wasn't created with a policy template.
- Parameters:
staticValue- Information about a static policy that wasn't created with a policy template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticValue
default PolicyDefinitionItem.Builder staticValue(Consumer<StaticPolicyDefinitionItem.Builder> staticValue) Information about a static policy that wasn't created with a policy template.
This is a convenience method that creates an instance of theStaticPolicyDefinitionItem.Builderavoiding the need to create one manually viaStaticPolicyDefinitionItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostaticValue(StaticPolicyDefinitionItem).- Parameters:
staticValue- a consumer that will call methods onStaticPolicyDefinitionItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateLinked
Information about a template-linked policy that was created by instantiating a policy template.
- Parameters:
templateLinked- Information about a template-linked policy that was created by instantiating a policy template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateLinked
default PolicyDefinitionItem.Builder templateLinked(Consumer<TemplateLinkedPolicyDefinitionItem.Builder> templateLinked) Information about a template-linked policy that was created by instantiating a policy template.
This is a convenience method that creates an instance of theTemplateLinkedPolicyDefinitionItem.Builderavoiding the need to create one manually viaTemplateLinkedPolicyDefinitionItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateLinked(TemplateLinkedPolicyDefinitionItem).- Parameters:
templateLinked- a consumer that will call methods onTemplateLinkedPolicyDefinitionItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-