Interface PolicyDefinitionDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyDefinitionDetail.Builder,,PolicyDefinitionDetail> SdkBuilder<PolicyDefinitionDetail.Builder,,PolicyDefinitionDetail> SdkPojo
- Enclosing class:
PolicyDefinitionDetail
public static interface PolicyDefinitionDetail.Builder
extends SdkPojo, CopyableBuilder<PolicyDefinitionDetail.Builder,PolicyDefinitionDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyDefinitionDetail.BuilderstaticValue(Consumer<StaticPolicyDefinitionDetail.Builder> staticValue) Information about a static policy that wasn't created with a policy template.staticValue(StaticPolicyDefinitionDetail staticValue) Information about a static policy that wasn't created with a policy template.default PolicyDefinitionDetail.BuildertemplateLinked(Consumer<TemplateLinkedPolicyDefinitionDetail.Builder> templateLinked) Information about a template-linked policy that was created by instantiating a policy template.templateLinked(TemplateLinkedPolicyDefinitionDetail 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 PolicyDefinitionDetail.Builder staticValue(Consumer<StaticPolicyDefinitionDetail.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 theStaticPolicyDefinitionDetail.Builderavoiding the need to create one manually viaStaticPolicyDefinitionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostaticValue(StaticPolicyDefinitionDetail).- Parameters:
staticValue- a consumer that will call methods onStaticPolicyDefinitionDetail.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 PolicyDefinitionDetail.Builder templateLinked(Consumer<TemplateLinkedPolicyDefinitionDetail.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 theTemplateLinkedPolicyDefinitionDetail.Builderavoiding the need to create one manually viaTemplateLinkedPolicyDefinitionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateLinked(TemplateLinkedPolicyDefinitionDetail).- Parameters:
templateLinked- a consumer that will call methods onTemplateLinkedPolicyDefinitionDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-