Class RequestEnvironmentInfoRequest

    • Constructor Detail

      • RequestEnvironmentInfoRequest

        public RequestEnvironmentInfoRequest()
        Default constructor for RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • RequestEnvironmentInfoRequest

        public RequestEnvironmentInfoRequest​(String infoType)
        Constructs a new RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        infoType - The type of information to request.
      • RequestEnvironmentInfoRequest

        public RequestEnvironmentInfoRequest​(EnvironmentInfoType infoType)
        Constructs a new RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        infoType - The type of information to request.
    • Method Detail

      • setEnvironmentId

        public void setEnvironmentId​(String environmentId)

        The ID of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

        Parameters:
        environmentId - The ID of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

      • getEnvironmentId

        public String getEnvironmentId()

        The ID of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

        Returns:
        The ID of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

      • withEnvironmentId

        public RequestEnvironmentInfoRequest withEnvironmentId​(String environmentId)

        The ID of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

        Parameters:
        environmentId - The ID of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

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

        public void setEnvironmentName​(String environmentName)

        The name of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

        Parameters:
        environmentName - The name of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

      • getEnvironmentName

        public String getEnvironmentName()

        The name of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

        Returns:
        The name of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

      • withEnvironmentName

        public RequestEnvironmentInfoRequest withEnvironmentName​(String environmentName)

        The name of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

        Parameters:
        environmentName - The name of the environment of the requested data.

        If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

        Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

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

        public void setInfoType​(String infoType)

        The type of information to request.

        Parameters:
        infoType - The type of information to request.
        See Also:
        EnvironmentInfoType
      • getInfoType

        public String getInfoType()

        The type of information to request.

        Returns:
        The type of information to request.
        See Also:
        EnvironmentInfoType
      • withInfoType

        public RequestEnvironmentInfoRequest withInfoType​(String infoType)

        The type of information to request.

        Parameters:
        infoType - The type of information to request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnvironmentInfoType
      • setInfoType

        public void setInfoType​(EnvironmentInfoType infoType)

        The type of information to request.

        Parameters:
        infoType - The type of information to request.
        See Also:
        EnvironmentInfoType
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object