Class S3Origin

    • Constructor Detail

      • S3Origin

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

        public S3Origin​(String domainName)
        Constructs a new S3Origin object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        domainName - The DNS name of the S3 origin.
      • S3Origin

        public S3Origin​(String domainName,
                        String originAccessIdentity)
        Constructs a new S3Origin object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        domainName - The DNS name of the S3 origin.
        originAccessIdentity - Your S3 origin's origin access identity.
    • Method Detail

      • setDomainName

        public void setDomainName​(String domainName)
        The DNS name of the S3 origin.
        Parameters:
        domainName - The DNS name of the S3 origin.
      • getDomainName

        public String getDomainName()
        The DNS name of the S3 origin.
        Returns:
        The DNS name of the S3 origin.
      • withDomainName

        public S3Origin withDomainName​(String domainName)
        The DNS name of the S3 origin.
        Parameters:
        domainName - The DNS name of the S3 origin.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOriginAccessIdentity

        public void setOriginAccessIdentity​(String originAccessIdentity)
        Your S3 origin's origin access identity.
        Parameters:
        originAccessIdentity - Your S3 origin's origin access identity.
      • getOriginAccessIdentity

        public String getOriginAccessIdentity()
        Your S3 origin's origin access identity.
        Returns:
        Your S3 origin's origin access identity.
      • withOriginAccessIdentity

        public S3Origin withOriginAccessIdentity​(String originAccessIdentity)
        Your S3 origin's origin access identity.
        Parameters:
        originAccessIdentity - Your S3 origin's origin access identity.
        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