Class AddWorkingStorageRequest

    • Constructor Detail

      • AddWorkingStorageRequest

        public AddWorkingStorageRequest()
    • Method Detail

      • setGatewayARN

        public void setGatewayARN​(String gatewayARN)
        Parameters:
        gatewayARN -
      • getGatewayARN

        public String getGatewayARN()
        Returns:
      • withGatewayARN

        public AddWorkingStorageRequest withGatewayARN​(String gatewayARN)
        Parameters:
        gatewayARN -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getDiskIds

        public List<String> getDiskIds()

        An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

        Returns:
        An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
      • setDiskIds

        public void setDiskIds​(Collection<String> diskIds)

        An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

        Parameters:
        diskIds - An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
      • withDiskIds

        public AddWorkingStorageRequest withDiskIds​(String... diskIds)

        An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

        NOTE: This method appends the values to the existing list (if any). Use setDiskIds(java.util.Collection) or withDiskIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        diskIds - An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withDiskIds

        public AddWorkingStorageRequest withDiskIds​(Collection<String> diskIds)

        An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

        Parameters:
        diskIds - An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
        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