Interface PolicyDefinitionDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyDefinitionDetail.Builder,
,PolicyDefinitionDetail> SdkBuilder<PolicyDefinitionDetail.Builder,
,PolicyDefinitionDetail> SdkPojo
- Enclosing class:
PolicyDefinitionDetail
@Mutable
@NotThreadSafe
public static interface PolicyDefinitionDetail.Builder
extends SdkPojo, CopyableBuilder<PolicyDefinitionDetail.Builder,PolicyDefinitionDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyDefinitionDetail.Builder
staticValue
(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.Builder
templateLinked
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaStaticPolicyDefinitionDetail.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTemplateLinkedPolicyDefinitionDetail.builder()
.When the
Consumer
completes,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:
-