JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.cloudfront.model

Class CopyDistributionRequest

    • Constructor Detail

      • CopyDistributionRequest

        public CopyDistributionRequest()
    • Method Detail

      • setPrimaryDistributionId

        public void setPrimaryDistributionId(String primaryDistributionId)

        The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.

        Parameters:
        primaryDistributionId - The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.
      • getPrimaryDistributionId

        public String getPrimaryDistributionId()

        The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.

        Returns:
        The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.
      • withPrimaryDistributionId

        public CopyDistributionRequest withPrimaryDistributionId(String primaryDistributionId)

        The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.

        Parameters:
        primaryDistributionId - The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStaging

        public void setStaging(Boolean staging)

        The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.

        Parameters:
        staging - The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.
      • getStaging

        public Boolean getStaging()

        The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.

        Returns:
        The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.
      • withStaging

        public CopyDistributionRequest withStaging(Boolean staging)

        The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.

        Parameters:
        staging - The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isStaging

        public Boolean isStaging()

        The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.

        Returns:
        The type of distribution that your primary distribution will be copied to. The only valid value is True, indicating that you are copying to a staging distribution.
      • setIfMatch

        public void setIfMatch(String ifMatch)

        The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to GetDistribution and GetDistributionConfig.

        Parameters:
        ifMatch - The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to GetDistribution and GetDistributionConfig.
      • getIfMatch

        public String getIfMatch()

        The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to GetDistribution and GetDistributionConfig.

        Returns:
        The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to GetDistribution and GetDistributionConfig.
      • withIfMatch

        public CopyDistributionRequest withIfMatch(String ifMatch)

        The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to GetDistribution and GetDistributionConfig.

        Parameters:
        ifMatch - The version identifier of the primary distribution whose configuration you are copying. This is the ETag value returned in the response to GetDistribution and GetDistributionConfig.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCallerReference

        public void setCallerReference(String callerReference)

        A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.

        Parameters:
        callerReference - A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
      • getCallerReference

        public String getCallerReference()

        A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.

        Returns:
        A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
      • withCallerReference

        public CopyDistributionRequest withCallerReference(String callerReference)

        A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.

        Parameters:
        callerReference - A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEnabled

        public void setEnabled(Boolean enabled)

        A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

        Parameters:
        enabled - A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

      • getEnabled

        public Boolean getEnabled()

        A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

        Returns:
        A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

      • withEnabled

        public CopyDistributionRequest withEnabled(Boolean enabled)

        A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

        Parameters:
        enabled - A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

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

        public Boolean isEnabled()

        A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

        Returns:
        A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to True, the staging distribution is enabled. When you set this value to False, the staging distribution is disabled.

        If you omit this field, the default value is True.

      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /