@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualCluster extends Object implements Serializable, Cloneable, StructuredPojo
This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host endpoints. Multiple virtual clusters can be backed by the same physical cluster. However, each virtual cluster maps to one namespace on an EKS cluster. Virtual clusters do not create any active resources that contribute to your bill or that require lifecycle management outside the service.
Constructor and Description |
---|
VirtualCluster() |
Modifier and Type | Method and Description |
---|---|
VirtualCluster |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
VirtualCluster |
clearTagsEntries()
Removes all the entries added into Tags.
|
VirtualCluster |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the virtual cluster.
|
ContainerProvider |
getContainerProvider()
The container provider of the virtual cluster.
|
Date |
getCreatedAt()
The date and time when the virtual cluster is created.
|
String |
getId()
The ID of the virtual cluster.
|
String |
getName()
The name of the virtual cluster.
|
String |
getState()
The state of the virtual cluster.
|
Map<String,String> |
getTags()
The assigned tags of the virtual cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the virtual cluster.
|
void |
setContainerProvider(ContainerProvider containerProvider)
The container provider of the virtual cluster.
|
void |
setCreatedAt(Date createdAt)
The date and time when the virtual cluster is created.
|
void |
setId(String id)
The ID of the virtual cluster.
|
void |
setName(String name)
The name of the virtual cluster.
|
void |
setState(String state)
The state of the virtual cluster.
|
void |
setTags(Map<String,String> tags)
The assigned tags of the virtual cluster.
|
String |
toString()
Returns a string representation of this object.
|
VirtualCluster |
withArn(String arn)
The ARN of the virtual cluster.
|
VirtualCluster |
withContainerProvider(ContainerProvider containerProvider)
The container provider of the virtual cluster.
|
VirtualCluster |
withCreatedAt(Date createdAt)
The date and time when the virtual cluster is created.
|
VirtualCluster |
withId(String id)
The ID of the virtual cluster.
|
VirtualCluster |
withName(String name)
The name of the virtual cluster.
|
VirtualCluster |
withState(String state)
The state of the virtual cluster.
|
VirtualCluster |
withState(VirtualClusterState state)
The state of the virtual cluster.
|
VirtualCluster |
withTags(Map<String,String> tags)
The assigned tags of the virtual cluster.
|
public void setId(String id)
The ID of the virtual cluster.
id
- The ID of the virtual cluster.public String getId()
The ID of the virtual cluster.
public VirtualCluster withId(String id)
The ID of the virtual cluster.
id
- The ID of the virtual cluster.public void setName(String name)
The name of the virtual cluster.
name
- The name of the virtual cluster.public String getName()
The name of the virtual cluster.
public VirtualCluster withName(String name)
The name of the virtual cluster.
name
- The name of the virtual cluster.public void setArn(String arn)
The ARN of the virtual cluster.
arn
- The ARN of the virtual cluster.public String getArn()
The ARN of the virtual cluster.
public VirtualCluster withArn(String arn)
The ARN of the virtual cluster.
arn
- The ARN of the virtual cluster.public void setState(String state)
The state of the virtual cluster.
state
- The state of the virtual cluster.VirtualClusterState
public String getState()
The state of the virtual cluster.
VirtualClusterState
public VirtualCluster withState(String state)
The state of the virtual cluster.
state
- The state of the virtual cluster.VirtualClusterState
public VirtualCluster withState(VirtualClusterState state)
The state of the virtual cluster.
state
- The state of the virtual cluster.VirtualClusterState
public void setContainerProvider(ContainerProvider containerProvider)
The container provider of the virtual cluster.
containerProvider
- The container provider of the virtual cluster.public ContainerProvider getContainerProvider()
The container provider of the virtual cluster.
public VirtualCluster withContainerProvider(ContainerProvider containerProvider)
The container provider of the virtual cluster.
containerProvider
- The container provider of the virtual cluster.public void setCreatedAt(Date createdAt)
The date and time when the virtual cluster is created.
createdAt
- The date and time when the virtual cluster is created.public Date getCreatedAt()
The date and time when the virtual cluster is created.
public VirtualCluster withCreatedAt(Date createdAt)
The date and time when the virtual cluster is created.
createdAt
- The date and time when the virtual cluster is created.public Map<String,String> getTags()
The assigned tags of the virtual cluster.
public void setTags(Map<String,String> tags)
The assigned tags of the virtual cluster.
tags
- The assigned tags of the virtual cluster.public VirtualCluster withTags(Map<String,String> tags)
The assigned tags of the virtual cluster.
tags
- The assigned tags of the virtual cluster.public VirtualCluster addTagsEntry(String key, String value)
public VirtualCluster clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public VirtualCluster clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.