@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WarningProperty extends Object implements Serializable, Cloneable
A specific property that is impacted by a warning.
Constructor and Description |
---|
WarningProperty() |
Modifier and Type | Method and Description |
---|---|
WarningProperty |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the property from the resource provider schema.
|
String |
getPropertyPath()
The path of the property.
|
Boolean |
getRequired()
If
true , the specified property is required. |
int |
hashCode() |
Boolean |
isRequired()
If
true , the specified property is required. |
void |
setDescription(String description)
The description of the property from the resource provider schema.
|
void |
setPropertyPath(String propertyPath)
The path of the property.
|
void |
setRequired(Boolean required)
If
true , the specified property is required. |
String |
toString()
Returns a string representation of this object.
|
WarningProperty |
withDescription(String description)
The description of the property from the resource provider schema.
|
WarningProperty |
withPropertyPath(String propertyPath)
The path of the property.
|
WarningProperty |
withRequired(Boolean required)
If
true , the specified property is required. |
public void setPropertyPath(String propertyPath)
The path of the property. For example, if this is for the S3Bucket
member of the Code
property, the property path would be Code/S3Bucket
.
propertyPath
- The path of the property. For example, if this is for the S3Bucket
member of the
Code
property, the property path would be Code/S3Bucket
.public String getPropertyPath()
The path of the property. For example, if this is for the S3Bucket
member of the Code
property, the property path would be Code/S3Bucket
.
S3Bucket
member of the
Code
property, the property path would be Code/S3Bucket
.public WarningProperty withPropertyPath(String propertyPath)
The path of the property. For example, if this is for the S3Bucket
member of the Code
property, the property path would be Code/S3Bucket
.
propertyPath
- The path of the property. For example, if this is for the S3Bucket
member of the
Code
property, the property path would be Code/S3Bucket
.public void setRequired(Boolean required)
If true
, the specified property is required.
required
- If true
, the specified property is required.public Boolean getRequired()
If true
, the specified property is required.
true
, the specified property is required.public WarningProperty withRequired(Boolean required)
If true
, the specified property is required.
required
- If true
, the specified property is required.public Boolean isRequired()
If true
, the specified property is required.
true
, the specified property is required.public void setDescription(String description)
The description of the property from the resource provider schema.
description
- The description of the property from the resource provider schema.public String getDescription()
The description of the property from the resource provider schema.
public WarningProperty withDescription(String description)
The description of the property from the resource provider schema.
description
- The description of the property from the resource provider schema.public String toString()
toString
in class Object
Object.toString()
public WarningProperty clone()