public class JobFlowDetail extends Object implements Serializable, Cloneable
A description of a job flow.
| Constructor and Description | 
|---|
| JobFlowDetail()Default constructor for 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 void setJobFlowId(String jobFlowId)
The job flow identifier.
jobFlowId - The job flow identifier.public String getJobFlowId()
The job flow identifier.
public JobFlowDetail withJobFlowId(String jobFlowId)
The job flow identifier.
jobFlowId - The job flow identifier.public void setName(String name)
The name of the job flow.
name - The name of the job flow.public String getName()
The name of the job flow.
public JobFlowDetail withName(String name)
The name of the job flow.
name - The name of the job flow.public void setLogUri(String logUri)
The location in Amazon S3 where log files for the job are stored.
logUri - The location in Amazon S3 where log files for the job are stored.public String getLogUri()
The location in Amazon S3 where log files for the job are stored.
public JobFlowDetail withLogUri(String logUri)
The location in Amazon S3 where log files for the job are stored.
logUri - The location in Amazon S3 where log files for the job are stored.public void setAmiVersion(String 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.
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 String getAmiVersion()
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)
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.
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 void setExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
Describes the execution status of the job flow.
executionStatusDetail - Describes the execution status of the job flow.public JobFlowExecutionStatusDetail getExecutionStatusDetail()
Describes the execution status of the job flow.
public JobFlowDetail withExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)
Describes the execution status of the job flow.
executionStatusDetail - Describes the execution status of the job flow.public void setInstances(JobFlowInstancesDetail instances)
Describes the Amazon EC2 instances of the job flow.
instances - Describes the Amazon EC2 instances of the job flow.public JobFlowInstancesDetail getInstances()
Describes the Amazon EC2 instances of the job flow.
public JobFlowDetail withInstances(JobFlowInstancesDetail instances)
Describes the Amazon EC2 instances of the job flow.
instances - Describes the Amazon EC2 instances of the job flow.public List<StepDetail> getSteps()
A list of steps run by the job flow.
public void setSteps(Collection<StepDetail> steps)
A list of steps run by the job flow.
steps - A list of steps run by the job flow.public JobFlowDetail withSteps(StepDetail... steps)
A list of steps run by the job flow.
 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.
 
steps - A list of steps run by the job flow.public JobFlowDetail withSteps(Collection<StepDetail> steps)
A list of steps run by the job flow.
steps - A list of steps run by the job flow.public List<BootstrapActionDetail> getBootstrapActions()
A list of the bootstrap actions run by the job flow.
public void setBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
A list of the bootstrap actions run by the job flow.
bootstrapActions - A list of the bootstrap actions run by the job flow.public JobFlowDetail withBootstrapActions(BootstrapActionDetail... bootstrapActions)
A list of the bootstrap actions run by the job flow.
 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.
 
bootstrapActions - A list of the bootstrap actions run by the job flow.public JobFlowDetail withBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)
A list of the bootstrap actions run by the job flow.
bootstrapActions - A list of the bootstrap actions run by the job flow.public List<String> getSupportedProducts()
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 void setSupportedProducts(Collection<String> 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.
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)
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.
 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.
 
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)
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.
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 void setVisibleToAllUsers(Boolean 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.
 
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()
 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.
 
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)
 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.
 
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 isVisibleToAllUsers()
 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.
 
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 setJobFlowRole(String jobFlowRole)
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
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 getJobFlowRole()
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)
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
jobFlowRole - The IAM role that was specified when the job flow was launched.
        The EC2 instances of the job flow assume this role.public void setServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
serviceRole - The IAM role that will be assumed by the Amazon EMR service to
        access AWS resources on your behalf.public String getServiceRole()
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
public JobFlowDetail withServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
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 © 2016. All rights reserved.