@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WarningDetail extends Object implements Serializable, Cloneable
The warnings generated for a specific resource for this generated template.
| Constructor and Description |
|---|
WarningDetail() |
| Modifier and Type | Method and Description |
|---|---|
WarningDetail |
clone() |
boolean |
equals(Object obj) |
List<WarningProperty> |
getProperties()
The properties of the resource that are impacted by this warning.
|
String |
getType()
The type of this warning.
|
int |
hashCode() |
void |
setProperties(Collection<WarningProperty> properties)
The properties of the resource that are impacted by this warning.
|
void |
setType(String type)
The type of this warning.
|
String |
toString()
Returns a string representation of this object.
|
WarningDetail |
withProperties(Collection<WarningProperty> properties)
The properties of the resource that are impacted by this warning.
|
WarningDetail |
withProperties(WarningProperty... properties)
The properties of the resource that are impacted by this warning.
|
WarningDetail |
withType(String type)
The type of this warning.
|
WarningDetail |
withType(WarningType type)
The type of this warning.
|
public void setType(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 suffix OneOf and 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
oneOf or anyOf. You need to look at the resource provider schema.
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 suffix OneOf and 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
oneOf or anyOf. You need to look at the resource provider schema.
WarningTypepublic String getType()
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 suffix OneOf and 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
oneOf or anyOf. You need to look at the resource provider schema.
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 suffix OneOf and 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 oneOf or anyOf. You need to look at the resource provider schema.
WarningTypepublic WarningDetail withType(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 suffix OneOf and 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
oneOf or anyOf. You need to look at the resource provider schema.
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 suffix OneOf and 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
oneOf or anyOf. You need to look at the resource provider schema.
WarningTypepublic WarningDetail withType(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 suffix OneOf and 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
oneOf or anyOf. You need to look at the resource provider schema.
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 suffix OneOf and 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
oneOf or anyOf. You need to look at the resource provider schema.
WarningTypepublic List<WarningProperty> getProperties()
The properties of the resource that are impacted by this warning.
public void setProperties(Collection<WarningProperty> properties)
The properties of the resource that are impacted by this warning.
properties - The properties of the resource that are impacted by this warning.public WarningDetail withProperties(WarningProperty... properties)
The properties of the resource that are impacted by this warning.
NOTE: This method appends the values to the existing list (if any). Use
setProperties(java.util.Collection) or withProperties(java.util.Collection) if you want to
override the existing values.
properties - The properties of the resource that are impacted by this warning.public WarningDetail withProperties(Collection<WarningProperty> properties)
The properties of the resource that are impacted by this warning.
properties - The properties of the resource that are impacted by this warning.public String toString()
toString in class ObjectObject.toString()public WarningDetail clone()