Class JobFlowDetail
- All Implemented Interfaces:
Serializable
,Cloneable
A description of a job flow.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for JobFlowDetail object.JobFlowDetail
(String jobFlowId, String name, JobFlowExecutionStatusDetail executionStatusDetail, JobFlowInstancesDetail instances) Constructs a new JobFlowDetail object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The version of the AMI used to initialize Amazon EC2 instances in the job flow.A list of the bootstrap actions run by the job flow.Describes the execution status of the job flow.Describes the Amazon EC2 instances of the job flow.The job flow identifier.The IAM role that was specified when the job flow was launched.The location in Amazon S3 where log files for the job are stored.getName()
The name of the job flow.The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.getSteps()
A list of steps run by the job flow.A list of strings set by third party software when the job flow is launched.Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow.int
hashCode()
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
The location in Amazon S3 where log files for the job are stored.void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAmiVersion
(String amiVersion) The version of the AMI used to initialize Amazon EC2 instances in the job flow.withBootstrapActions
(BootstrapActionDetail... bootstrapActions) A list of the bootstrap actions run by the job flow.withBootstrapActions
(Collection<BootstrapActionDetail> bootstrapActions) A list of the bootstrap actions run by the job flow.withExecutionStatusDetail
(JobFlowExecutionStatusDetail executionStatusDetail) Describes the execution status of the job flow.withInstances
(JobFlowInstancesDetail instances) Describes the Amazon EC2 instances of the job flow.withJobFlowId
(String jobFlowId) The job flow identifier.withJobFlowRole
(String jobFlowRole) The IAM role that was specified when the job flow was launched.withLogUri
(String logUri) The location in Amazon S3 where log files for the job are stored.The name of the job flow.withServiceRole
(String serviceRole) The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.withSteps
(StepDetail... steps) A list of steps run by the job flow.withSteps
(Collection<StepDetail> steps) A list of steps run by the job flow.withSupportedProducts
(String... supportedProducts) A list of strings set by third party software when the job flow is launched.withSupportedProducts
(Collection<String> supportedProducts) A list of strings set by third party software when the job flow is launched.withVisibleToAllUsers
(Boolean visibleToAllUsers) Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow.
-
Constructor Details
-
JobFlowDetail
public JobFlowDetail()Default constructor for JobFlowDetail object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
JobFlowDetail
public JobFlowDetail(String jobFlowId, String name, JobFlowExecutionStatusDetail executionStatusDetail, JobFlowInstancesDetail instances) Constructs a new JobFlowDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setJobFlowId
The job flow identifier.
- Parameters:
jobFlowId
- The job flow identifier.
-
getJobFlowId
The job flow identifier.
- Returns:
- The job flow identifier.
-
withJobFlowId
The job flow identifier.
- Parameters:
jobFlowId
- The job flow identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name of the job flow.
- Parameters:
name
- The name of the job flow.
-
getName
The name of the job flow.
- Returns:
- The name of the job flow.
-
withName
The name of the job flow.
- Parameters:
name
- The name of the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogUri
The location in Amazon S3 where log files for the job are stored.
- Parameters:
logUri
- The location in Amazon S3 where log files for the job are stored.
-
getLogUri
The location in Amazon S3 where log files for the job are stored.
- Returns:
- The location in Amazon S3 where log files for the job are stored.
-
withLogUri
The location in Amazon S3 where log files for the job are stored.
- Parameters:
logUri
- The location in Amazon S3 where log files for the job are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAmiVersion
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withAmiVersion
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutionStatusDetail
Describes the execution status of the job flow.
- Parameters:
executionStatusDetail
- Describes the execution status of the job flow.
-
getExecutionStatusDetail
Describes the execution status of the job flow.
- Returns:
- Describes the execution status of the job flow.
-
withExecutionStatusDetail
Describes the execution status of the job flow.
- Parameters:
executionStatusDetail
- Describes the execution status of the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstances
Describes the Amazon EC2 instances of the job flow.
- Parameters:
instances
- Describes the Amazon EC2 instances of the job flow.
-
getInstances
Describes the Amazon EC2 instances of the job flow.
- Returns:
- Describes the Amazon EC2 instances of the job flow.
-
withInstances
Describes the Amazon EC2 instances of the job flow.
- Parameters:
instances
- Describes the Amazon EC2 instances of the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSteps
A list of steps run by the job flow.
- Returns:
- A list of steps run by the job flow.
-
setSteps
A list of steps run by the job flow.
- Parameters:
steps
- A list of steps run by the job flow.
-
withSteps
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)
orwithSteps(java.util.Collection)
if you want to override the existing values.- Parameters:
steps
- A list of steps run by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSteps
A list of steps run by the job flow.
- Parameters:
steps
- A list of steps run by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getBootstrapActions
A list of the bootstrap actions run by the job flow.
- Returns:
- A list of the bootstrap actions run by the job flow.
-
setBootstrapActions
A list of the bootstrap actions run by the job flow.
- Parameters:
bootstrapActions
- A list of the bootstrap actions run by the job flow.
-
withBootstrapActions
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)
orwithBootstrapActions(java.util.Collection)
if you want to override the existing values.- Parameters:
bootstrapActions
- A list of the bootstrap actions run by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBootstrapActions
A list of the bootstrap actions run by the job flow.
- Parameters:
bootstrapActions
- A list of the bootstrap actions run by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setSupportedProducts
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.
- Parameters:
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.
-
withSupportedProducts
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)
orwithSupportedProducts(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSupportedProducts
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVisibleToAllUsers
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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.- Parameters:
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 totrue
, 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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.
-
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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.- Returns:
- 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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.
-
withVisibleToAllUsers
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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.- Parameters:
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 totrue
, 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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.- Returns:
- 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 tofalse
, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.
-
setJobFlowRole
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
- Parameters:
jobFlowRole
- The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
-
getJobFlowRole
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
- Returns:
- The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
-
withJobFlowRole
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
- Parameters:
jobFlowRole
- The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceRole
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
- Parameters:
serviceRole
- The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
-
getServiceRole
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
- Returns:
- The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
-
withServiceRole
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
- Parameters:
serviceRole
- The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-