com.amazonaws.services.cloudfront_2012_03_15.model

## クラス StreamingDistributionConfig

- java.lang.Object
- - com.amazonaws.services.cloudfront_2012_03_15.model.StreamingDistributionConfig

-     public class StreamingDistributionConfig
      extends java.lang.Object

  The configuration for the streaming distribution.

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

    コンストラクタ
    コンストラクタと説明
    `StreamingDistributionConfig()` Default constructor for a new StreamingDistributionConfig object.
    `StreamingDistributionConfig(S3Origin s3Origin, java.lang.String callerReference, java.lang.Boolean enabled)` Constructs a new StreamingDistributionConfig object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCallerReference()` A unique number that ensures the request can't be replayed.
    `java.util.List<java.lang.String>` | `getCNAME()` A CNAME alias you want to associate with this streaming distribution.
    `java.lang.String` | `getComment()` Any comments you want to include about the streaming distribution.
    `java.lang.Boolean` | `getEnabled()` Whether the streaming distribution is enabled to accept end user requests for content.
    `LoggingConfig` | `getLogging()` A complex type that controls whether access logs are written for the streaming distribution.
    `S3Origin` | `getS3Origin()` S3 Origin information to associate with the distribution.
    `TrustedSigners` | `getTrustedSigners()` A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEnabled()` Whether the streaming distribution is enabled to accept end user requests for content.
    `void` | `setCallerReference(java.lang.String callerReference)` A unique number that ensures the request can't be replayed.
    `void` | `setCNAME(java.util.Collection<java.lang.String> cNAME)` A CNAME alias you want to associate with this streaming distribution.
    `void` | `setComment(java.lang.String comment)` Any comments you want to include about the streaming distribution.
    `void` | `setEnabled(java.lang.Boolean enabled)` Whether the streaming distribution is enabled to accept end user requests for content.
    `void` | `setLogging(LoggingConfig logging)` A complex type that controls whether access logs are written for the streaming distribution.
    `void` | `setS3Origin(S3Origin s3Origin)` S3 Origin information to associate with the distribution.
    `void` | `setTrustedSigners(TrustedSigners trustedSigners)` A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `StreamingDistributionConfig` | `withCallerReference(java.lang.String callerReference)` A unique number that ensures the request can't be replayed.
    `StreamingDistributionConfig` | `withCNAME(java.util.Collection<java.lang.String> cNAME)` A CNAME alias you want to associate with this streaming distribution.
    `StreamingDistributionConfig` | `withCNAME(java.lang.String... cNAME)` A CNAME alias you want to associate with this streaming distribution.
    `StreamingDistributionConfig` | `withComment(java.lang.String comment)` Any comments you want to include about the streaming distribution.
    `StreamingDistributionConfig` | `withEnabled(java.lang.Boolean enabled)` Whether the streaming distribution is enabled to accept end user requests for content.
    `StreamingDistributionConfig` | `withLogging(LoggingConfig logging)` A complex type that controls whether access logs are written for the streaming distribution.
    `StreamingDistributionConfig` | `withS3Origin(S3Origin s3Origin)` S3 Origin information to associate with the distribution.
    `StreamingDistributionConfig` | `withTrustedSigners(TrustedSigners trustedSigners)` A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content.

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

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

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

    - #### StreamingDistributionConfig

          public StreamingDistributionConfig()

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

    - #### StreamingDistributionConfig

          public StreamingDistributionConfig(S3Origin s3Origin,
                                     java.lang.String callerReference,
                                     java.lang.Boolean enabled)

      Constructs a new StreamingDistributionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `s3Origin` - S3 Origin information to associate with the distribution.
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
        `enabled` - Whether the streaming distribution is enabled to accept end user requests for content.

  - ### メソッドの詳細

    - #### getS3Origin

          public S3Origin getS3Origin()

      S3 Origin information to associate with the distribution.
      戻り値:
        S3 Origin information to associate with the distribution.

    - #### setS3Origin

          public void setS3Origin(S3Origin s3Origin)

      S3 Origin information to associate with the distribution.
      パラメータ:
        `s3Origin` - S3 Origin information to associate with the distribution.

    - #### withS3Origin

          public StreamingDistributionConfig withS3Origin(S3Origin s3Origin)

      S3 Origin information to associate with the distribution.

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

      パラメータ:
        `s3Origin` - S3 Origin information to associate with the distribution.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### getCallerReference

          public java.lang.String getCallerReference()

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
      戻り値:
        A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

    - #### setCallerReference

          public void setCallerReference(java.lang.String callerReference)

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

    - #### withCallerReference

          public StreamingDistributionConfig withCallerReference(java.lang.String callerReference)

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

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

      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### getCNAME

          public java.util.List<java.lang.String> getCNAME()

      A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.
      戻り値:
        A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.

    - #### setCNAME

          public void setCNAME(java.util.Collection<java.lang.String> cNAME)

      A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.
      パラメータ:
        `cNAME` - A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.

    - #### withCNAME

          public StreamingDistributionConfig withCNAME(java.lang.String... cNAME)

      A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.

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

      パラメータ:
        `cNAME` - A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### withCNAME

          public StreamingDistributionConfig withCNAME(java.util.Collection<java.lang.String> cNAME)

      A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.

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

      パラメータ:
        `cNAME` - A CNAME alias you want to associate with this streaming distribution. You can have up to 10 CNAME aliases per streaming distribution. Only include a CNAME element if you have a CNAME to associate with the distribution. Don't include an empty CNAME element in the StreamingDistributionConfig object. If you do, CloudFront returns a MalformedXML error.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### getComment

          public java.lang.String getComment()

      Any comments you want to include about the streaming distribution.
      戻り値:
        Any comments you want to include about the streaming distribution.

    - #### setComment

          public void setComment(java.lang.String comment)

      Any comments you want to include about the streaming distribution.
      パラメータ:
        `comment` - Any comments you want to include about the streaming distribution.

    - #### withComment

          public StreamingDistributionConfig withComment(java.lang.String comment)

      Any comments you want to include about the streaming distribution.

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

      パラメータ:
        `comment` - Any comments you want to include about the streaming distribution.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### isEnabled

          public java.lang.Boolean isEnabled()

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

    - #### setEnabled

          public void setEnabled(java.lang.Boolean enabled)

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

    - #### withEnabled

          public StreamingDistributionConfig withEnabled(java.lang.Boolean enabled)

      Whether the streaming 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 streaming distribution is enabled to accept end user requests for content.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### getEnabled

          public java.lang.Boolean getEnabled()

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

    - #### getLogging

          public LoggingConfig getLogging()

      A complex type that controls whether access logs are written for the streaming distribution. If you want to turn on access logs, include this element; if you want to turn off access logs, remove this element.
      戻り値:
        A complex type that controls whether access logs are written for the streaming distribution. If you want to turn on access logs, include this element; if you want to turn off access logs, remove this element.

    - #### setLogging

          public void setLogging(LoggingConfig logging)

      A complex type that controls whether access logs are written for the streaming distribution. If you want to turn on access logs, include this element; if you want to turn off access logs, remove this element.
      パラメータ:
        `logging` - A complex type that controls whether access logs are written for the streaming distribution. If you want to turn on access logs, include this element; if you want to turn off access logs, remove this element.

    - #### withLogging

          public StreamingDistributionConfig withLogging(LoggingConfig logging)

      A complex type that controls whether access logs are written for the streaming distribution. If you want to turn on access logs, include this element; if you want to turn off access logs, remove this element.

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

      パラメータ:
        `logging` - A complex type that controls whether access logs are written for the streaming distribution. If you want to turn on access logs, include this element; if you want to turn off access logs, remove this element.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### getTrustedSigners

          public TrustedSigners getTrustedSigners()

      A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use basic URLs, remove this element.
      戻り値:
        A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use basic URLs, remove this element.

    - #### setTrustedSigners

          public void setTrustedSigners(TrustedSigners trustedSigners)

      A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use basic URLs, remove this element.
      パラメータ:
        `trustedSigners` - A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use basic URLs, remove this element.

    - #### withTrustedSigners

          public StreamingDistributionConfig withTrustedSigners(TrustedSigners trustedSigners)

      A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use basic URLs, remove this element.

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

      パラメータ:
        `trustedSigners` - A complex type that specifies any AWS accounts you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use basic URLs, remove this element.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### 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`