@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Warnings extends Object implements Serializable, Cloneable
Contains any warnings returned by the GetTemplateSummary
API action.
Constructor and Description |
---|
Warnings() |
Modifier and Type | Method and Description |
---|---|
Warnings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getUnrecognizedResourceTypes()
A list of all of the unrecognized resource types.
|
int |
hashCode() |
void |
setUnrecognizedResourceTypes(Collection<String> unrecognizedResourceTypes)
A list of all of the unrecognized resource types.
|
String |
toString()
Returns a string representation of this object.
|
Warnings |
withUnrecognizedResourceTypes(Collection<String> unrecognizedResourceTypes)
A list of all of the unrecognized resource types.
|
Warnings |
withUnrecognizedResourceTypes(String... unrecognizedResourceTypes)
A list of all of the unrecognized resource types.
|
public List<String> getUnrecognizedResourceTypes()
A list of all of the unrecognized resource types. This is only returned if the TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.
TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.public void setUnrecognizedResourceTypes(Collection<String> unrecognizedResourceTypes)
A list of all of the unrecognized resource types. This is only returned if the TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.
unrecognizedResourceTypes
- A list of all of the unrecognized resource types. This is only returned if the
TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.public Warnings withUnrecognizedResourceTypes(String... unrecognizedResourceTypes)
A list of all of the unrecognized resource types. This is only returned if the TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.
NOTE: This method appends the values to the existing list (if any). Use
setUnrecognizedResourceTypes(java.util.Collection)
or
withUnrecognizedResourceTypes(java.util.Collection)
if you want to override the existing values.
unrecognizedResourceTypes
- A list of all of the unrecognized resource types. This is only returned if the
TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.public Warnings withUnrecognizedResourceTypes(Collection<String> unrecognizedResourceTypes)
A list of all of the unrecognized resource types. This is only returned if the TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.
unrecognizedResourceTypes
- A list of all of the unrecognized resource types. This is only returned if the
TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
configuration set to True
.public String toString()
toString
in class Object
Object.toString()