com.amazonaws.services.cloudfront.model

## クラス DistributionSummary

- java.lang.Object
- - com.amazonaws.services.cloudfront.model.DistributionSummary

- すべての実装されたインタフェース:
    java.io.Serializable

      public class DistributionSummary
      extends java.lang.Object
      implements java.io.Serializable

  A summary of the information for an Amazon CloudFront distribution.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `DistributionSummary()` Default constructor for a new DistributionSummary object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `Aliases` | `getAliases()` A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
    `CacheBehaviors` | `getCacheBehaviors()` A complex type that contains zero or more CacheBehavior elements.
    `java.lang.String` | `getComment()` The comment originally specified when this distribution was created.
    `DefaultCacheBehavior` | `getDefaultCacheBehavior()` A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.
    `java.lang.String` | `getDomainName()` The domain name corresponding to the distribution.
    `java.lang.Boolean` | `getEnabled()` Whether the distribution is enabled to accept end user requests for content.
    `java.lang.String` | `getId()` The identifier for the distribution.
    `java.util.Date` | `getLastModifiedTime()` The date and time the distribution was last modified.
    `Origins` | `getOrigins()` A complex type that contains information about origins for this distribution.
    `java.lang.String` | `getPriceClass()` Returns the value of the PriceClass property for this object.
    `java.lang.String` | `getStatus()` This response element indicates the current status of the distribution.
    `ViewerCertificate` | `getViewerCertificate()` A complex type that contains information about viewer certificates for this distribution.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEnabled()` Whether the distribution is enabled to accept end user requests for content.
    `void` | `setAliases(Aliases aliases)` A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
    `void` | `setCacheBehaviors(CacheBehaviors cacheBehaviors)` A complex type that contains zero or more CacheBehavior elements.
    `void` | `setComment(java.lang.String comment)` The comment originally specified when this distribution was created.
    `void` | `setDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)` A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.
    `void` | `setDomainName(java.lang.String domainName)` The domain name corresponding to the distribution.
    `void` | `setEnabled(java.lang.Boolean enabled)` Whether the distribution is enabled to accept end user requests for content.
    `void` | `setId(java.lang.String id)` The identifier for the distribution.
    `void` | `setLastModifiedTime(java.util.Date lastModifiedTime)` The date and time the distribution was last modified.
    `void` | `setOrigins(Origins origins)` A complex type that contains information about origins for this distribution.
    `void` | `setPriceClass(PriceClass priceClass)` Sets the value of the PriceClass property for this object.
    `void` | `setPriceClass(java.lang.String priceClass)` Sets the value of the PriceClass property for this object.
    `void` | `setStatus(java.lang.String status)` This response element indicates the current status of the distribution.
    `void` | `setViewerCertificate(ViewerCertificate viewerCertificate)` A complex type that contains information about viewer certificates for this distribution.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DistributionSummary` | `withAliases(Aliases aliases)` A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
    `DistributionSummary` | `withCacheBehaviors(CacheBehaviors cacheBehaviors)` A complex type that contains zero or more CacheBehavior elements.
    `DistributionSummary` | `withComment(java.lang.String comment)` The comment originally specified when this distribution was created.
    `DistributionSummary` | `withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)` A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.
    `DistributionSummary` | `withDomainName(java.lang.String domainName)` The domain name corresponding to the distribution.
    `DistributionSummary` | `withEnabled(java.lang.Boolean enabled)` Whether the distribution is enabled to accept end user requests for content.
    `DistributionSummary` | `withId(java.lang.String id)` The identifier for the distribution.
    `DistributionSummary` | `withLastModifiedTime(java.util.Date lastModifiedTime)` The date and time the distribution was last modified.
    `DistributionSummary` | `withOrigins(Origins origins)` A complex type that contains information about origins for this distribution.
    `DistributionSummary` | `withPriceClass(PriceClass priceClass)` Sets the value of the PriceClass property for this object.
    `DistributionSummary` | `withPriceClass(java.lang.String priceClass)` Sets the value of the PriceClass property for this object.
    `DistributionSummary` | `withStatus(java.lang.String status)` This response element indicates the current status of the distribution.
    `DistributionSummary` | `withViewerCertificate(ViewerCertificate viewerCertificate)` A complex type that contains information about viewer certificates for this distribution.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### DistributionSummary

          public DistributionSummary()

      Default constructor for a new DistributionSummary object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

  - ### メソッドの詳細

    - #### getId

          public java.lang.String getId()

      The identifier for the distribution. For example: EDFDVBD632BHDS5.
      戻り値:
        The identifier for the distribution. For example: EDFDVBD632BHDS5.

    - #### setId

          public void setId(java.lang.String id)

      The identifier for the distribution. For example: EDFDVBD632BHDS5.
      パラメータ:
        `id` - The identifier for the distribution. For example: EDFDVBD632BHDS5.

    - #### withId

          public DistributionSummary withId(java.lang.String id)

      The identifier for the distribution. For example: EDFDVBD632BHDS5.

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

      パラメータ:
        `id` - The identifier for the distribution. For example: EDFDVBD632BHDS5.

    - #### getStatus

          public java.lang.String getStatus()

      This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.
      戻り値:
        This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

    - #### setStatus

          public void setStatus(java.lang.String status)

      This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.
      パラメータ:
        `status` - This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

    - #### withStatus

          public DistributionSummary withStatus(java.lang.String status)

      This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

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

      パラメータ:
        `status` - This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

    - #### getLastModifiedTime

          public java.util.Date getLastModifiedTime()

      The date and time the distribution was last modified.
      戻り値:
        The date and time the distribution was last modified.

    - #### setLastModifiedTime

          public void setLastModifiedTime(java.util.Date lastModifiedTime)

      The date and time the distribution was last modified.
      パラメータ:
        `lastModifiedTime` - The date and time the distribution was last modified.

    - #### withLastModifiedTime

          public DistributionSummary withLastModifiedTime(java.util.Date lastModifiedTime)

      The date and time the distribution was last modified.

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

      パラメータ:
        `lastModifiedTime` - The date and time the distribution was last modified.

    - #### getDomainName

          public java.lang.String getDomainName()

      The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.
      戻り値:
        The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

    - #### setDomainName

          public void setDomainName(java.lang.String domainName)

      The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.
      パラメータ:
        `domainName` - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

    - #### withDomainName

          public DistributionSummary withDomainName(java.lang.String domainName)

      The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

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

      パラメータ:
        `domainName` - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

    - #### getAliases

          public Aliases getAliases()

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
      戻り値:
        A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

    - #### setAliases

          public void setAliases(Aliases aliases)

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
      パラメータ:
        `aliases` - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

    - #### withAliases

          public DistributionSummary withAliases(Aliases aliases)

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

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

      パラメータ:
        `aliases` - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

    - #### getOrigins

          public Origins getOrigins()

      A complex type that contains information about origins for this distribution.
      戻り値:
        A complex type that contains information about origins for this distribution.

    - #### setOrigins

          public void setOrigins(Origins origins)

      A complex type that contains information about origins for this distribution.
      パラメータ:
        `origins` - A complex type that contains information about origins for this distribution.

    - #### withOrigins

          public DistributionSummary withOrigins(Origins origins)

      A complex type that contains information about origins for this distribution.

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

      パラメータ:
        `origins` - A complex type that contains information about origins for this distribution.

    - #### getDefaultCacheBehavior

          public DefaultCacheBehavior getDefaultCacheBehavior()

      A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.
      戻り値:
        A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.

    - #### setDefaultCacheBehavior

          public void setDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)

      A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.
      パラメータ:
        `defaultCacheBehavior` - A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.

    - #### withDefaultCacheBehavior

          public DistributionSummary withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)

      A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.

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

      パラメータ:
        `defaultCacheBehavior` - A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.

    - #### getCacheBehaviors

          public CacheBehaviors getCacheBehaviors()

      A complex type that contains zero or more CacheBehavior elements.
      戻り値:
        A complex type that contains zero or more CacheBehavior elements.

    - #### setCacheBehaviors

          public void setCacheBehaviors(CacheBehaviors cacheBehaviors)

      A complex type that contains zero or more CacheBehavior elements.
      パラメータ:
        `cacheBehaviors` - A complex type that contains zero or more CacheBehavior elements.

    - #### withCacheBehaviors

          public DistributionSummary withCacheBehaviors(CacheBehaviors cacheBehaviors)

      A complex type that contains zero or more CacheBehavior elements.

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

      パラメータ:
        `cacheBehaviors` - A complex type that contains zero or more CacheBehavior elements.

    - #### getComment

          public java.lang.String getComment()

      The comment originally specified when this distribution was created.
      戻り値:
        The comment originally specified when this distribution was created.

    - #### setComment

          public void setComment(java.lang.String comment)

      The comment originally specified when this distribution was created.
      パラメータ:
        `comment` - The comment originally specified when this distribution was created.

    - #### withComment

          public DistributionSummary withComment(java.lang.String comment)

      The comment originally specified when this distribution was created.

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

      パラメータ:
        `comment` - The comment originally specified when this distribution was created.

    - #### getPriceClass

          public java.lang.String getPriceClass()

      Returns the value of the PriceClass property for this object.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      戻り値:
        The value of the PriceClass property for this object.
      関連項目:
        `PriceClass`

    - #### setPriceClass

          public void setPriceClass(java.lang.String priceClass)

      Sets the value of the PriceClass property for this object.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - The new value for the PriceClass property for this object.
      関連項目:
        `PriceClass`

    - #### withPriceClass

          public DistributionSummary withPriceClass(java.lang.String priceClass)

      Sets the value of the PriceClass property for this object.

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

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - The new value for the PriceClass property for this object.
      関連項目:
        `PriceClass`

    - #### setPriceClass

          public void setPriceClass(PriceClass priceClass)

      Sets the value of the PriceClass property for this object.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - The new value for the PriceClass property for this object.
      関連項目:
        `PriceClass`

    - #### withPriceClass

          public DistributionSummary withPriceClass(PriceClass priceClass)

      Sets the value of the PriceClass property for this object.

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

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - The new value for the PriceClass property for this object.
      関連項目:
        `PriceClass`

    - #### isEnabled

          public java.lang.Boolean isEnabled()

      Whether the distribution is enabled to accept end user requests for content.
      戻り値:
        Whether the distribution is enabled to accept end user requests for content.

    - #### setEnabled

          public void setEnabled(java.lang.Boolean enabled)

      Whether the distribution is enabled to accept end user requests for content.
      パラメータ:
        `enabled` - Whether the distribution is enabled to accept end user requests for content.

    - #### withEnabled

          public DistributionSummary withEnabled(java.lang.Boolean enabled)

      Whether the distribution is enabled to accept end user requests for content.

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

      パラメータ:
        `enabled` - Whether the distribution is enabled to accept end user requests for content.

    - #### getEnabled

          public java.lang.Boolean getEnabled()

      Whether the distribution is enabled to accept end user requests for content.
      戻り値:
        Whether the distribution is enabled to accept end user requests for content.

    - #### getViewerCertificate

          public ViewerCertificate getViewerCertificate()

      A complex type that contains information about viewer certificates for this distribution.
      戻り値:
        A complex type that contains information about viewer certificates for this distribution.

    - #### setViewerCertificate

          public void setViewerCertificate(ViewerCertificate viewerCertificate)

      A complex type that contains information about viewer certificates for this distribution.
      パラメータ:
        `viewerCertificate` - A complex type that contains information about viewer certificates for this distribution.

    - #### withViewerCertificate

          public DistributionSummary withViewerCertificate(ViewerCertificate viewerCertificate)

      A complex type that contains information about viewer certificates for this distribution.

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

      パラメータ:
        `viewerCertificate` - A complex type that contains information about viewer certificates for this distribution.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`