@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceNameAndResourceType extends Object implements Serializable, Cloneable, StructuredPojo
Information about the shareable resource types and the AWS services to which they belong.
Constructor and Description |
---|
ServiceNameAndResourceType() |
Modifier and Type | Method and Description |
---|---|
ServiceNameAndResourceType |
clone() |
boolean |
equals(Object obj) |
String |
getResourceType()
The shareable resource types.
|
String |
getServiceName()
The name of the AWS services to which the resources belong.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceType(String resourceType)
The shareable resource types.
|
void |
setServiceName(String serviceName)
The name of the AWS services to which the resources belong.
|
String |
toString()
Returns a string representation of this object.
|
ServiceNameAndResourceType |
withResourceType(String resourceType)
The shareable resource types.
|
ServiceNameAndResourceType |
withServiceName(String serviceName)
The name of the AWS services to which the resources belong.
|
public void setResourceType(String resourceType)
The shareable resource types.
resourceType
- The shareable resource types.public String getResourceType()
The shareable resource types.
public ServiceNameAndResourceType withResourceType(String resourceType)
The shareable resource types.
resourceType
- The shareable resource types.public void setServiceName(String serviceName)
The name of the AWS services to which the resources belong.
serviceName
- The name of the AWS services to which the resources belong.public String getServiceName()
The name of the AWS services to which the resources belong.
public ServiceNameAndResourceType withServiceName(String serviceName)
The name of the AWS services to which the resources belong.
serviceName
- The name of the AWS services to which the resources belong.public String toString()
toString
in class Object
Object.toString()
public ServiceNameAndResourceType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.