Class ConfirmProductInstanceRequest

    • Constructor Detail

      • ConfirmProductInstanceRequest

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

        public ConfirmProductInstanceRequest​(String productCode,
                                             String instanceId)
        Constructs a new ConfirmProductInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        productCode - The product code. This must be a product code that you own.
        instanceId - The ID of the instance.
    • Method Detail

      • setProductCode

        public void setProductCode​(String productCode)

        The product code. This must be a product code that you own.

        Parameters:
        productCode - The product code. This must be a product code that you own.
      • getProductCode

        public String getProductCode()

        The product code. This must be a product code that you own.

        Returns:
        The product code. This must be a product code that you own.
      • withProductCode

        public ConfirmProductInstanceRequest withProductCode​(String productCode)

        The product code. This must be a product code that you own.

        Parameters:
        productCode - The product code. This must be a product code that you own.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceId

        public void setInstanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
      • getInstanceId

        public String getInstanceId()

        The ID of the instance.

        Returns:
        The ID of the instance.
      • withInstanceId

        public ConfirmProductInstanceRequest withInstanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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