Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   * 
   *  http://aws.amazon.com/apache2.0
   * 
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
 package com.amazonaws.services.elasticmapreduce.model;
 

A description of a job flow.

 
 public class JobFlowDetail implements SerializableCloneable {

    
The job flow identifier.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

 
     private String jobFlowId;

    
The name of the job flow.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

 
     private String name;

    
The location in Amazon S3 where log files for the job are stored.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

 
     private String logUri;

    
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's Guide.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

 
     private String amiVersion;

    
Describes the execution status of the job flow.
 
Describes the Amazon EC2 instances of the job flow.
 
     private JobFlowInstancesDetail instances;

    
A list of steps run by the job flow.
 
A list of the bootstrap actions run by the job flow.
 
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.
 
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.
    private Boolean visibleToAllUsers;

    
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

    private String jobFlowRole;

    
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

    private String serviceRole;

    
Default constructor for a new JobFlowDetail object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.
    public JobFlowDetail() {}
    
    
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.
    public JobFlowDetail(String jobFlowIdString nameJobFlowExecutionStatusDetail executionStatusDetailJobFlowInstancesDetail instances) {
        setJobFlowId(jobFlowId);
        setName(name);
        setExecutionStatusDetail(executionStatusDetail);
        setInstances(instances);
    }

    
The job flow identifier.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The job flow identifier.
    public String getJobFlowId() {
        return ;
    }
    
    
The job flow identifier.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
jobFlowId The job flow identifier.
    public void setJobFlowId(String jobFlowId) {
        this. = jobFlowId;
    }
    
    
The job flow identifier.

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]*

Parameters:
jobFlowId The job flow identifier.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withJobFlowId(String jobFlowId) {
        this. = jobFlowId;
        return this;
    }

    
The name of the job flow.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The name of the job flow.
    public String getName() {
        return ;
    }
    
    
The name of the job flow.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
name The name of the job flow.
    public void setName(String name) {
        this. = name;
    }
    
    
The name of the job flow.

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]*

Parameters:
name The name of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withName(String name) {
        this. = name;
        return this;
    }

    
The location in Amazon S3 where log files for the job are stored.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The location in Amazon S3 where log files for the job are stored.
    public String getLogUri() {
        return ;
    }
    
    
The location in Amazon S3 where log files for the job are stored.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
logUri The location in Amazon S3 where log files for the job are stored.
    public void setLogUri(String logUri) {
        this. = logUri;
    }
    
    
The location in Amazon S3 where log files for the job are stored.

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]*

Parameters:
logUri The location in Amazon S3 where log files for the job are stored.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withLogUri(String logUri) {
        this. = logUri;
        return this;
    }

    
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's Guide.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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's Guide.
    public String getAmiVersion() {
        return ;
    }
    
    
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's Guide.

Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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's Guide.
    public void setAmiVersion(String amiVersion) {
        this. = 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's Guide.

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]*

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's Guide.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withAmiVersion(String amiVersion) {
        this. = amiVersion;
        return this;
    }

    
Describes the execution status of the job flow.

Returns:
Describes the execution status of the job flow.
        return ;
    }
    
    
Describes the execution status of the job flow.

Parameters:
executionStatusDetail Describes the execution status of the job flow.
    public void setExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail) {
        this. = executionStatusDetail;
    }
    
    
Describes the execution status of the job flow.

Returns a reference to this object so that method calls can be chained together.

Parameters:
executionStatusDetail Describes the execution status of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail) {
        this. = executionStatusDetail;
        return this;
    }

    
Describes the Amazon EC2 instances of the job flow.

Returns:
Describes the Amazon EC2 instances of the job flow.
        return ;
    }
    
    
Describes the Amazon EC2 instances of the job flow.

Parameters:
instances Describes the Amazon EC2 instances of the job flow.
    public void setInstances(JobFlowInstancesDetail instances) {
        this. = instances;
    }
    
    
Describes the Amazon EC2 instances of the job flow.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instances Describes the Amazon EC2 instances of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withInstances(JobFlowInstancesDetail instances) {
        this. = instances;
        return this;
    }

    
A list of steps run by the job flow.

Returns:
A list of steps run by the job flow.
    public java.util.List<StepDetailgetSteps() {
        if ( == null) {
               = new com.amazonaws.internal.ListWithAutoConstructFlag<StepDetail>();
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
A list of steps run by the job flow.

Parameters:
steps A list of steps run by the job flow.
    public void setSteps(java.util.Collection<StepDetailsteps) {
        if (steps == null) {
            this. = null;
            return;
        }
        stepsCopy.addAll(steps);
        this. = stepsCopy;
    }
    
    
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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
steps A list of steps run by the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withSteps(StepDetail... steps) {
        if (getSteps() == nullsetSteps(new java.util.ArrayList<StepDetail>(steps.length));
        for (StepDetail value : steps) {
            getSteps().add(value);
        }
        return this;
    }
    
    
A list of steps run by the job flow.

Returns a reference to this object so that method calls can be chained together.

Parameters:
steps A list of steps run by the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
        if (steps == null) {
            this. = null;
        } else {
            stepsCopy.addAll(steps);
            this. = stepsCopy;
        }
        return this;
    }

    
A list of the bootstrap actions run by the job flow.

Returns:
A list of the bootstrap actions run by the job flow.
        if ( == null) {
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
A list of the bootstrap actions run by the job flow.

Parameters:
bootstrapActions A list of the bootstrap actions run by the job flow.
    public void setBootstrapActions(java.util.Collection<BootstrapActionDetailbootstrapActions) {
        if (bootstrapActions == null) {
            this. = null;
            return;
        }
        bootstrapActionsCopy.addAll(bootstrapActions);
        this. = bootstrapActionsCopy;
    }
    
    
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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bootstrapActions A list of the bootstrap actions run by the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withBootstrapActions(BootstrapActionDetail... bootstrapActions) {
        if (getBootstrapActions() == nullsetBootstrapActions(new java.util.ArrayList<BootstrapActionDetail>(bootstrapActions.length));
        for (BootstrapActionDetail value : bootstrapActions) {
            getBootstrapActions().add(value);
        }
        return this;
    }
    
    
A list of the bootstrap actions run by the job flow.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bootstrapActions A list of the bootstrap actions run by the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
        if (bootstrapActions == null) {
            this. = null;
        } else {
            bootstrapActionsCopy.addAll(bootstrapActions);
            this. = bootstrapActionsCopy;
        }
        return this;
    }

    
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.
        if ( == null) {
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
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.
    public void setSupportedProducts(java.util.Collection<StringsupportedProducts) {
        if (supportedProducts == null) {
            this. = null;
            return;
        }
        com.amazonaws.internal.ListWithAutoConstructFlag<StringsupportedProductsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(supportedProducts.size());
        supportedProductsCopy.addAll(supportedProducts);
        this. = supportedProductsCopy;
    }
    
    
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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withSupportedProducts(String... supportedProducts) {
        if (getSupportedProducts() == nullsetSupportedProducts(new java.util.ArrayList<String>(supportedProducts.length));
        for (String value : supportedProducts) {
            getSupportedProducts().add(value);
        }
        return this;
    }
    
    
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 reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withSupportedProducts(java.util.Collection<StringsupportedProducts) {
        if (supportedProducts == null) {
            this. = null;
        } else {
            com.amazonaws.internal.ListWithAutoConstructFlag<StringsupportedProductsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(supportedProducts.size());
            supportedProductsCopy.addAll(supportedProducts);
            this. = supportedProductsCopy;
        }
        return this;
    }

    
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.

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 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() {
        return ;
    }
    
    
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.

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 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 void setVisibleToAllUsers(Boolean visibleToAllUsers) {
        this. = 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.

Returns a reference to this object so that method calls can be chained together.

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 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.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withVisibleToAllUsers(Boolean visibleToAllUsers) {
        this. = visibleToAllUsers;
        return this;
    }

    
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.

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 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() {
        return ;
    }

    
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
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() {
        return ;
    }
    
    
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
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 setJobFlowRole(String jobFlowRole) {
        this. = jobFlowRole;
    }
    
    
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

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]*

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:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withJobFlowRole(String jobFlowRole) {
        this. = jobFlowRole;
        return this;
    }

    
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
    public String getServiceRole() {
        return ;
    }
    
    
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
serviceRole The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
    public void setServiceRole(String serviceRole) {
        this. = serviceRole;
    }
    
    
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

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]*

Parameters:
serviceRole The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
Returns:
A reference to this updated object so that method calls can be chained together.
    public JobFlowDetail withServiceRole(String serviceRole) {
        this. = serviceRole;
        return this;
    }

    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getJobFlowId() != nullsb.append("JobFlowId: " + getJobFlowId() + ",");
        if (getName() != nullsb.append("Name: " + getName() + ",");
        if (getLogUri() != nullsb.append("LogUri: " + getLogUri() + ",");
        if (getAmiVersion() != nullsb.append("AmiVersion: " + getAmiVersion() + ",");
        if (getExecutionStatusDetail() != nullsb.append("ExecutionStatusDetail: " + getExecutionStatusDetail() + ",");
        if (getInstances() != nullsb.append("Instances: " + getInstances() + ",");
        if (getSteps() != nullsb.append("Steps: " + getSteps() + ",");
        if (getBootstrapActions() != nullsb.append("BootstrapActions: " + getBootstrapActions() + ",");
        if (getSupportedProducts() != nullsb.append("SupportedProducts: " + getSupportedProducts() + ",");
        if (isVisibleToAllUsers() != nullsb.append("VisibleToAllUsers: " + isVisibleToAllUsers() + ",");
        if (getJobFlowRole() != nullsb.append("JobFlowRole: " + getJobFlowRole() + ",");
        if (getServiceRole() != nullsb.append("ServiceRole: " + getServiceRole() );
        sb.append("}");
        return sb.toString();
    }
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        
        hashCode = prime * hashCode + ((getJobFlowId() == null) ? 0 : getJobFlowId().hashCode()); 
        hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); 
        hashCode = prime * hashCode + ((getLogUri() == null) ? 0 : getLogUri().hashCode()); 
        hashCode = prime * hashCode + ((getAmiVersion() == null) ? 0 : getAmiVersion().hashCode()); 
        hashCode = prime * hashCode + ((getExecutionStatusDetail() == null) ? 0 : getExecutionStatusDetail().hashCode()); 
        hashCode = prime * hashCode + ((getInstances() == null) ? 0 : getInstances().hashCode()); 
        hashCode = prime * hashCode + ((getSteps() == null) ? 0 : getSteps().hashCode()); 
        hashCode = prime * hashCode + ((getBootstrapActions() == null) ? 0 : getBootstrapActions().hashCode()); 
        hashCode = prime * hashCode + ((getSupportedProducts() == null) ? 0 : getSupportedProducts().hashCode()); 
        hashCode = prime * hashCode + ((isVisibleToAllUsers() == null) ? 0 : isVisibleToAllUsers().hashCode()); 
        hashCode = prime * hashCode + ((getJobFlowRole() == null) ? 0 : getJobFlowRole().hashCode()); 
        hashCode = prime * hashCode + ((getServiceRole() == null) ? 0 : getServiceRole().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof JobFlowDetail == falsereturn false;
        JobFlowDetail other = (JobFlowDetail)obj;
        
        if (other.getJobFlowId() == null ^ this.getJobFlowId() == nullreturn false;
        if (other.getJobFlowId() != null && other.getJobFlowId().equals(this.getJobFlowId()) == falsereturn false
        if (other.getName() == null ^ this.getName() == nullreturn false;
        if (other.getName() != null && other.getName().equals(this.getName()) == falsereturn false
        if (other.getLogUri() == null ^ this.getLogUri() == nullreturn false;
        if (other.getLogUri() != null && other.getLogUri().equals(this.getLogUri()) == falsereturn false
        if (other.getAmiVersion() == null ^ this.getAmiVersion() == nullreturn false;
        if (other.getAmiVersion() != null && other.getAmiVersion().equals(this.getAmiVersion()) == falsereturn false
        if (other.getExecutionStatusDetail() == null ^ this.getExecutionStatusDetail() == nullreturn false;
        if (other.getExecutionStatusDetail() != null && other.getExecutionStatusDetail().equals(this.getExecutionStatusDetail()) == falsereturn false
        if (other.getInstances() == null ^ this.getInstances() == nullreturn false;
        if (other.getInstances() != null && other.getInstances().equals(this.getInstances()) == falsereturn false
        if (other.getSteps() == null ^ this.getSteps() == nullreturn false;
        if (other.getSteps() != null && other.getSteps().equals(this.getSteps()) == falsereturn false
        if (other.getBootstrapActions() == null ^ this.getBootstrapActions() == nullreturn false;
        if (other.getBootstrapActions() != null && other.getBootstrapActions().equals(this.getBootstrapActions()) == falsereturn false
        if (other.getSupportedProducts() == null ^ this.getSupportedProducts() == nullreturn false;
        if (other.getSupportedProducts() != null && other.getSupportedProducts().equals(this.getSupportedProducts()) == falsereturn false
        if (other.isVisibleToAllUsers() == null ^ this.isVisibleToAllUsers() == nullreturn false;
        if (other.isVisibleToAllUsers() != null && other.isVisibleToAllUsers().equals(this.isVisibleToAllUsers()) == falsereturn false
        if (other.getJobFlowRole() == null ^ this.getJobFlowRole() == nullreturn false;
        if (other.getJobFlowRole() != null && other.getJobFlowRole().equals(this.getJobFlowRole()) == falsereturn false
        if (other.getServiceRole() == null ^ this.getServiceRole() == nullreturn false;
        if (other.getServiceRole() != null && other.getServiceRole().equals(this.getServiceRole()) == falsereturn false
        return true;
    }
    
    @Override
    public JobFlowDetail clone() {
        try {
            return (JobFlowDetailsuper.clone();
        
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException(
                    "Got a CloneNotSupportedException from Object.clone() "
                    + "even though we're Cloneable!",
                    e);
        }
        
    }
}
    
New to GrepCode? Check out our FAQ X