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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PolicyDefinitionDetail.BuilderstaticValue(Consumer<StaticPolicyDefinitionDetail.Builder> staticValue)Information about a static policy that wasn't created with a policy template.PolicyDefinitionDetail.BuilderstaticValue(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.PolicyDefinitionDetail.BuildertemplateLinked(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, sdkFields
-
-
-
-
Method Detail
-
staticValue
PolicyDefinitionDetail.Builder staticValue(StaticPolicyDefinitionDetail 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:
staticValue(StaticPolicyDefinitionDetail)
-
templateLinked
PolicyDefinitionDetail.Builder templateLinked(TemplateLinkedPolicyDefinitionDetail 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:
templateLinked(TemplateLinkedPolicyDefinitionDetail)
-
-