@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationRelatedAnomalyResource extends Object implements Serializable, Cloneable, StructuredPojo
Information about a resource in which DevOps Guru detected anomalous behavior.
Constructor and Description |
---|
RecommendationRelatedAnomalyResource() |
Modifier and Type | Method and Description |
---|---|
RecommendationRelatedAnomalyResource |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the resource.
|
String |
getType()
The type of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the resource.
|
void |
setType(String type)
The type of the resource.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationRelatedAnomalyResource |
withName(String name)
The name of the resource.
|
RecommendationRelatedAnomalyResource |
withType(String type)
The type of the resource.
|
public RecommendationRelatedAnomalyResource()
public void setName(String name)
The name of the resource.
name
- The name of the resource.public String getName()
The name of the resource.
public RecommendationRelatedAnomalyResource withName(String name)
The name of the resource.
name
- The name of the resource.public void setType(String type)
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation
resource type identifiers, service-provider::service-name::data-type-name
. For example,
AWS::RDS::DBCluster
. For more information, see Amazon
Web Services resource and property types reference in the Amazon Web Services CloudFormation User
Guide.
type
- The type of the resource. Resource types take the same form that is used by Amazon Web Services
CloudFormation resource type identifiers, service-provider::service-name::data-type-name
. For
example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services
CloudFormation User Guide.public String getType()
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation
resource type identifiers, service-provider::service-name::data-type-name
. For example,
AWS::RDS::DBCluster
. For more information, see Amazon
Web Services resource and property types reference in the Amazon Web Services CloudFormation User
Guide.
service-provider::service-name::data-type-name
.
For example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services
CloudFormation User Guide.public RecommendationRelatedAnomalyResource withType(String type)
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation
resource type identifiers, service-provider::service-name::data-type-name
. For example,
AWS::RDS::DBCluster
. For more information, see Amazon
Web Services resource and property types reference in the Amazon Web Services CloudFormation User
Guide.
type
- The type of the resource. Resource types take the same form that is used by Amazon Web Services
CloudFormation resource type identifiers, service-provider::service-name::data-type-name
. For
example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services
CloudFormation User Guide.public String toString()
toString
in class Object
Object.toString()
public RecommendationRelatedAnomalyResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.