@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceReceivingAccess extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon Lightsail instance that has access to a Lightsail bucket.
| Constructor and Description |
|---|
ResourceReceivingAccess() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReceivingAccess |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the Lightsail instance.
|
String |
getResourceType()
The Lightsail resource type (for example,
Instance). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the Lightsail instance.
|
void |
setResourceType(String resourceType)
The Lightsail resource type (for example,
Instance). |
String |
toString()
Returns a string representation of this object.
|
ResourceReceivingAccess |
withName(String name)
The name of the Lightsail instance.
|
ResourceReceivingAccess |
withResourceType(String resourceType)
The Lightsail resource type (for example,
Instance). |
public void setName(String name)
The name of the Lightsail instance.
name - The name of the Lightsail instance.public String getName()
The name of the Lightsail instance.
public ResourceReceivingAccess withName(String name)
The name of the Lightsail instance.
name - The name of the Lightsail instance.public void setResourceType(String resourceType)
The Lightsail resource type (for example, Instance).
resourceType - The Lightsail resource type (for example, Instance).public String getResourceType()
The Lightsail resource type (for example, Instance).
Instance).public ResourceReceivingAccess withResourceType(String resourceType)
The Lightsail resource type (for example, Instance).
resourceType - The Lightsail resource type (for example, Instance).public String toString()
toString in class ObjectObject.toString()public ResourceReceivingAccess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.