public class JobFlowDetail extends Object implements Serializable, Cloneable
A description of a job flow.
| Constructor and Description | 
|---|
| JobFlowDetail()Default constructor for a new JobFlowDetail object. | 
| JobFlowDetail(String jobFlowId,
             String name,
             JobFlowExecutionStatusDetail executionStatusDetail,
             JobFlowInstancesDetail instances)Constructs a new JobFlowDetail object. | 
| Modifier and Type | Method and Description | 
|---|---|
| JobFlowDetail | clone() | 
| boolean | equals(Object obj) | 
| String | getAmiVersion()The version of the AMI used to initialize Amazon EC2 instances in the
 job flow. | 
| List<BootstrapActionDetail> | getBootstrapActions()A list of the bootstrap actions run by the job flow. | 
| JobFlowExecutionStatusDetail | getExecutionStatusDetail()Describes the execution status of the job flow. | 
| JobFlowInstancesDetail | getInstances()Describes the Amazon EC2 instances of the job flow. | 
| String | getJobFlowId()The job flow identifier. | 
| String | getJobFlowRole()The IAM role that was specified when the job flow was launched. | 
| String | getLogUri()The location in Amazon S3 where log files for the job are stored. | 
| String | getName()The name of the job flow. | 
| String | getServiceRole()The IAM role that will be assumed by the Amazon EMR service to access
 AWS resources on your behalf. | 
| List<StepDetail> | getSteps()A list of steps run by the job flow. | 
| List<String> | getSupportedProducts()A list of strings set by third party software when the job flow is
 launched. | 
| Boolean | getVisibleToAllUsers()Specifies whether the job flow is visible to all IAM users of the AWS
 account associated with the job flow. | 
| int | hashCode() | 
| Boolean | isVisibleToAllUsers()Specifies whether the job flow is visible to all IAM users of the AWS
 account associated with the job flow. | 
| void | setAmiVersion(String amiVersion)The version of the AMI used to initialize Amazon EC2 instances in the
 job flow. | 
| void | setBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)A list of the bootstrap actions run by the job flow. | 
| void | setExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)Describes the execution status of the job flow. | 
| void | setInstances(JobFlowInstancesDetail instances)Describes the Amazon EC2 instances of the job flow. | 
| void | setJobFlowId(String jobFlowId)The job flow identifier. | 
| void | setJobFlowRole(String jobFlowRole)The IAM role that was specified when the job flow was launched. | 
| void | setLogUri(String logUri)The location in Amazon S3 where log files for the job are stored. | 
| void | setName(String name)The name of the job flow. | 
| void | setServiceRole(String serviceRole)The IAM role that will be assumed by the Amazon EMR service to access
 AWS resources on your behalf. | 
| void | setSteps(Collection<StepDetail> steps)A list of steps run by the job flow. | 
| void | setSupportedProducts(Collection<String> supportedProducts)A list of strings set by third party software when the job flow is
 launched. | 
| void | setVisibleToAllUsers(Boolean visibleToAllUsers)Specifies whether the job flow is visible to all IAM users of the AWS
 account associated with the job flow. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| JobFlowDetail | withAmiVersion(String amiVersion)The version of the AMI used to initialize Amazon EC2 instances in the
 job flow. | 
| JobFlowDetail | withBootstrapActions(BootstrapActionDetail... bootstrapActions)A list of the bootstrap actions run by the job flow. | 
| JobFlowDetail | withBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)A list of the bootstrap actions run by the job flow. | 
| JobFlowDetail | withExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)Describes the execution status of the job flow. | 
| JobFlowDetail | withInstances(JobFlowInstancesDetail instances)Describes the Amazon EC2 instances of the job flow. | 
| JobFlowDetail | withJobFlowId(String jobFlowId)The job flow identifier. | 
| JobFlowDetail | withJobFlowRole(String jobFlowRole)The IAM role that was specified when the job flow was launched. | 
| JobFlowDetail | withLogUri(String logUri)The location in Amazon S3 where log files for the job are stored. | 
| JobFlowDetail | withName(String name)The name of the job flow. | 
| JobFlowDetail | withServiceRole(String serviceRole)The IAM role that will be assumed by the Amazon EMR service to access
 AWS resources on your behalf. | 
| JobFlowDetail | withSteps(Collection<StepDetail> steps)A list of steps run by the job flow. | 
| JobFlowDetail | withSteps(StepDetail... steps)A list of steps run by the job flow. | 
| JobFlowDetail | withSupportedProducts(Collection<String> supportedProducts)A list of strings set by third party software when the job flow is
 launched. | 
| JobFlowDetail | withSupportedProducts(String... supportedProducts)A list of strings set by third party software when the job flow is
 launched. | 
| JobFlowDetail | withVisibleToAllUsers(Boolean visibleToAllUsers)Specifies whether the job flow is visible to all IAM users of the AWS
 account associated with the job flow. | 
public JobFlowDetail()
public JobFlowDetail(String jobFlowId, String name, JobFlowExecutionStatusDetail executionStatusDetail, JobFlowInstancesDetail instances)
jobFlowId - The job flow identifier.name - The name of the job flow.executionStatusDetail - Describes the execution status of the job
 flow.instances - Describes the Amazon EC2 instances of the job flow.public String getJobFlowId()
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setJobFlowId(String jobFlowId)
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
jobFlowId - The job flow identifier.public JobFlowDetail withJobFlowId(String jobFlowId)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
jobFlowId - The job flow identifier.public String getName()
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setName(String name)
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name - The name of the job flow.public JobFlowDetail withName(String name)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name - The name of the job flow.public String getLogUri()
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setLogUri(String logUri)
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
logUri - The location in Amazon S3 where log files for the job are stored.public JobFlowDetail withLogUri(String logUri)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
logUri - The location in Amazon S3 where log files for the job are stored.public String getAmiVersion()
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAmiVersion(String amiVersion)
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
amiVersion - The version of the AMI used to initialize Amazon EC2 instances in the
         job flow. For a list of AMI versions currently supported by Amazon
         ElasticMapReduce, go to AMI
         Versions Supported in Elastic MapReduce in the Amazon Elastic
         MapReduce Developer Guide.public JobFlowDetail withAmiVersion(String amiVersion)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
amiVersion - The version of the AMI used to initialize Amazon EC2 instances in the
         job flow. For a list of AMI versions currently supported by Amazon
         ElasticMapReduce, go to AMI
         Versions Supported in Elastic MapReduce in the Amazon Elastic
         MapReduce Developer Guide.public JobFlowExecutionStatusDetail getExecutionStatusDetail()
public void setExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
executionStatusDetail - Describes the execution status of the job flow.public JobFlowDetail withExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
Returns a reference to this object so that method calls can be chained together.
executionStatusDetail - Describes the execution status of the job flow.public JobFlowInstancesDetail getInstances()
public void setInstances(JobFlowInstancesDetail instances)
instances - Describes the Amazon EC2 instances of the job flow.public JobFlowDetail withInstances(JobFlowInstancesDetail instances)
Returns a reference to this object so that method calls can be chained together.
instances - Describes the Amazon EC2 instances of the job flow.public List<StepDetail> getSteps()
public void setSteps(Collection<StepDetail> steps)
steps - A list of steps run by the job flow.public JobFlowDetail withSteps(StepDetail... steps)
 NOTE: This method appends the values to the existing list (if
 any). Use setSteps(java.util.Collection) or withSteps(java.util.Collection) if you want to override the existing
 values.
 
Returns a reference to this object so that method calls can be chained together.
steps - A list of steps run by the job flow.public JobFlowDetail withSteps(Collection<StepDetail> steps)
Returns a reference to this object so that method calls can be chained together.
steps - A list of steps run by the job flow.public List<BootstrapActionDetail> getBootstrapActions()
public void setBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
bootstrapActions - A list of the bootstrap actions run by the job flow.public JobFlowDetail withBootstrapActions(BootstrapActionDetail... bootstrapActions)
 NOTE: This method appends the values to the existing list (if
 any). Use setBootstrapActions(java.util.Collection) or withBootstrapActions(java.util.Collection) if you want to override
 the existing values.
 
Returns a reference to this object so that method calls can be chained together.
bootstrapActions - A list of the bootstrap actions run by the job flow.public JobFlowDetail withBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
Returns a reference to this object so that method calls can be chained together.
bootstrapActions - A list of the bootstrap actions run by the job flow.public List<String> getSupportedProducts()
public void setSupportedProducts(Collection<String> supportedProducts)
supportedProducts - A list of strings set by third party software when the job flow is
         launched. If you are not using third party software to manage the job
         flow this value is empty.public JobFlowDetail withSupportedProducts(String... supportedProducts)
 NOTE: This method appends the values to the existing list (if
 any). Use setSupportedProducts(java.util.Collection) or
 withSupportedProducts(java.util.Collection) if you want to
 override the existing values.
 
Returns a reference to this object so that method calls can be chained together.
supportedProducts - A list of strings set by third party software when the job flow is
         launched. If you are not using third party software to manage the job
         flow this value is empty.public JobFlowDetail withSupportedProducts(Collection<String> supportedProducts)
Returns a reference to this object so that method calls can be chained together.
supportedProducts - A list of strings set by third party software when the job flow is
         launched. If you are not using third party software to manage the job
         flow this value is empty.public Boolean isVisibleToAllUsers()
true, all IAM users of that AWS account can view and (if
 they have the proper policy permissions set) manage the job flow. If
 it is set to false, only the IAM user that created the
 job flow can view and manage it. This value can be changed using the
 SetVisibleToAllUsers action.true, all IAM users of that AWS account can view and (if
         they have the proper policy permissions set) manage the job flow. If
         it is set to false, only the IAM user that created the
         job flow can view and manage it. This value can be changed using the
         SetVisibleToAllUsers action.public void setVisibleToAllUsers(Boolean visibleToAllUsers)
true, all IAM users of that AWS account can view and (if
 they have the proper policy permissions set) manage the job flow. If
 it is set to false, only the IAM user that created the
 job flow can view and manage it. This value can be changed using the
 SetVisibleToAllUsers action.visibleToAllUsers - Specifies whether the job flow is visible to all IAM users of the AWS
         account associated with the job flow. If this value is set to
         true, all IAM users of that AWS account can view and (if
         they have the proper policy permissions set) manage the job flow. If
         it is set to false, only the IAM user that created the
         job flow can view and manage it. This value can be changed using the
         SetVisibleToAllUsers action.public JobFlowDetail withVisibleToAllUsers(Boolean visibleToAllUsers)
true, all IAM users of that AWS account can view and (if
 they have the proper policy permissions set) manage the job flow. If
 it is set to false, only the IAM user that created the
 job flow can view and manage it. This value can be changed using the
 SetVisibleToAllUsers action.
 Returns a reference to this object so that method calls can be chained together.
visibleToAllUsers - Specifies whether the job flow is visible to all IAM users of the AWS
         account associated with the job flow. If this value is set to
         true, all IAM users of that AWS account can view and (if
         they have the proper policy permissions set) manage the job flow. If
         it is set to false, only the IAM user that created the
         job flow can view and manage it. This value can be changed using the
         SetVisibleToAllUsers action.public Boolean getVisibleToAllUsers()
true, all IAM users of that AWS account can view and (if
 they have the proper policy permissions set) manage the job flow. If
 it is set to false, only the IAM user that created the
 job flow can view and manage it. This value can be changed using the
 SetVisibleToAllUsers action.true, all IAM users of that AWS account can view and (if
         they have the proper policy permissions set) manage the job flow. If
         it is set to false, only the IAM user that created the
         job flow can view and manage it. This value can be changed using the
         SetVisibleToAllUsers action.public String getJobFlowRole()
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setJobFlowRole(String jobFlowRole)
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
jobFlowRole - The IAM role that was specified when the job flow was launched. The
         EC2 instances of the job flow assume this role.public JobFlowDetail withJobFlowRole(String jobFlowRole)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
jobFlowRole - The IAM role that was specified when the job flow was launched. The
         EC2 instances of the job flow assume this role.public String getServiceRole()
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setServiceRole(String serviceRole)
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
serviceRole - The IAM role that will be assumed by the Amazon EMR service to access
         AWS resources on your behalf.public JobFlowDetail withServiceRole(String serviceRole)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 10280
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
serviceRole - The IAM role that will be assumed by the Amazon EMR service to access
         AWS resources on your behalf.public String toString()
toString in class ObjectObject.toString()public JobFlowDetail clone()
Copyright © 2015. All rights reserved.