Interface WarningDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WarningDetail.Builder,WarningDetail>,SdkBuilder<WarningDetail.Builder,WarningDetail>,SdkPojo
- Enclosing class:
- WarningDetail
public static interface WarningDetail.Builder extends SdkPojo, CopyableBuilder<WarningDetail.Builder,WarningDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WarningDetail.Builderproperties(Collection<WarningProperty> properties)The properties of the resource that are impacted by this warning.WarningDetail.Builderproperties(Consumer<WarningProperty.Builder>... properties)The properties of the resource that are impacted by this warning.WarningDetail.Builderproperties(WarningProperty... properties)The properties of the resource that are impacted by this warning.WarningDetail.Buildertype(String type)The type of this warning.WarningDetail.Buildertype(WarningType type)The type of this warning.-
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
-
type
WarningDetail.Builder type(String type)
The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.
-
MUTUALLY_EXCLUSIVE_PROPERTIES- The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffixOneOfand the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. -
UNSUPPORTED_PROPERTIES- Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. -
MUTUALLY_EXCLUSIVE_TYPES- One or more required write-only properties are found in the resource, and the type of that property can be any of several types.
Currently the resource and property reference documentation does not indicate if a property uses a type of
oneOforanyOf. You need to look at the resource provider schema.- Parameters:
type- The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.-
MUTUALLY_EXCLUSIVE_PROPERTIES- The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffixOneOfand the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. -
UNSUPPORTED_PROPERTIES- Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. -
MUTUALLY_EXCLUSIVE_TYPES- One or more required write-only properties are found in the resource, and the type of that property can be any of several types.
Currently the resource and property reference documentation does not indicate if a property uses a type of
oneOforanyOf. You need to look at the resource provider schema.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WarningType,WarningType
-
-
type
WarningDetail.Builder type(WarningType type)
The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.
-
MUTUALLY_EXCLUSIVE_PROPERTIES- The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffixOneOfand the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. -
UNSUPPORTED_PROPERTIES- Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. -
MUTUALLY_EXCLUSIVE_TYPES- One or more required write-only properties are found in the resource, and the type of that property can be any of several types.
Currently the resource and property reference documentation does not indicate if a property uses a type of
oneOforanyOf. You need to look at the resource provider schema.- Parameters:
type- The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.-
MUTUALLY_EXCLUSIVE_PROPERTIES- The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffixOneOfand the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. -
UNSUPPORTED_PROPERTIES- Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. -
MUTUALLY_EXCLUSIVE_TYPES- One or more required write-only properties are found in the resource, and the type of that property can be any of several types.
Currently the resource and property reference documentation does not indicate if a property uses a type of
oneOforanyOf. You need to look at the resource provider schema.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WarningType,WarningType
-
-
properties
WarningDetail.Builder properties(Collection<WarningProperty> properties)
The properties of the resource that are impacted by this warning.
- Parameters:
properties- The properties of the resource that are impacted by this warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
WarningDetail.Builder properties(WarningProperty... properties)
The properties of the resource that are impacted by this warning.
- Parameters:
properties- The properties of the resource that are impacted by this warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
WarningDetail.Builder properties(Consumer<WarningProperty.Builder>... properties)
The properties of the resource that are impacted by this warning.
This is a convenience method that creates an instance of theWarningProperty.Builderavoiding the need to create one manually viaWarningProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#properties(List.) - Parameters:
properties- a consumer that will call methods onWarningProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#properties(java.util.Collection)
-
-