Class CreateCacheSecurityGroupRequest

    • Constructor Detail

      • CreateCacheSecurityGroupRequest

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

        public CreateCacheSecurityGroupRequest​(String cacheSecurityGroupName,
                                               String description)
        Constructs a new CreateCacheSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        cacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

        Example: mysecuritygroup

        description - A description for the cache security group.
    • Method Detail

      • setCacheSecurityGroupName

        public void setCacheSecurityGroupName​(String cacheSecurityGroupName)

        A name for the cache security group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

        Example: mysecuritygroup

        Parameters:
        cacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

        Example: mysecuritygroup

      • getCacheSecurityGroupName

        public String getCacheSecurityGroupName()

        A name for the cache security group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

        Example: mysecuritygroup

        Returns:
        A name for the cache security group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

        Example: mysecuritygroup

      • withCacheSecurityGroupName

        public CreateCacheSecurityGroupRequest withCacheSecurityGroupName​(String cacheSecurityGroupName)

        A name for the cache security group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

        Example: mysecuritygroup

        Parameters:
        cacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

        Example: mysecuritygroup

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

        public void setDescription​(String description)

        A description for the cache security group.

        Parameters:
        description - A description for the cache security group.
      • getDescription

        public String getDescription()

        A description for the cache security group.

        Returns:
        A description for the cache security group.
      • withDescription

        public CreateCacheSecurityGroupRequest withDescription​(String description)

        A description for the cache security group.

        Parameters:
        description - A description for the cache security group.
        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