@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateClusterResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateClusterResult |
clone() |
boolean |
equals(Object obj) |
String |
getClusterId()
The automatically generated ID for a cluster.
|
List<JobListEntry> |
getJobListEntries()
List of jobs created for this cluster.
|
int |
hashCode() |
void |
setClusterId(String clusterId)
The automatically generated ID for a cluster.
|
void |
setJobListEntries(Collection<JobListEntry> jobListEntries)
List of jobs created for this cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterResult |
withClusterId(String clusterId)
The automatically generated ID for a cluster.
|
CreateClusterResult |
withJobListEntries(Collection<JobListEntry> jobListEntries)
List of jobs created for this cluster.
|
CreateClusterResult |
withJobListEntries(JobListEntry... jobListEntries)
List of jobs created for this cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setClusterId(String clusterId)
The automatically generated ID for a cluster.
clusterId - The automatically generated ID for a cluster.public String getClusterId()
The automatically generated ID for a cluster.
public CreateClusterResult withClusterId(String clusterId)
The automatically generated ID for a cluster.
clusterId - The automatically generated ID for a cluster.public List<JobListEntry> getJobListEntries()
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.
public void setJobListEntries(Collection<JobListEntry> jobListEntries)
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.
jobListEntries - List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.public CreateClusterResult withJobListEntries(JobListEntry... jobListEntries)
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.
NOTE: This method appends the values to the existing list (if any). Use
setJobListEntries(java.util.Collection) or withJobListEntries(java.util.Collection) if you want
to override the existing values.
jobListEntries - List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.public CreateClusterResult withJobListEntries(Collection<JobListEntry> jobListEntries)
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.
jobListEntries - List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.public String toString()
toString in class ObjectObject.toString()public CreateClusterResult clone()