Class TrafficPolicyState.Builder

  • Enclosing class:
    TrafficPolicyState

    public static final class TrafficPolicyState.Builder
    extends java.lang.Object
    • Method Detail

      • comment

        public TrafficPolicyState.Builder comment​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> comment)
        Parameters:
        comment - Comment for the traffic policy.
        Returns:
        builder
      • comment

        public TrafficPolicyState.Builder comment​(java.lang.String comment)
        Parameters:
        comment - Comment for the traffic policy.
        Returns:
        builder
      • document

        public TrafficPolicyState.Builder document​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> document)
        Parameters:
        document - Policy document. This is a JSON formatted string. For more information about building Route53 traffic policy documents, see the [AWS Route53 Traffic Policy document format](https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html) The following arguments are optional:
        Returns:
        builder
      • document

        public TrafficPolicyState.Builder document​(java.lang.String document)
        Parameters:
        document - Policy document. This is a JSON formatted string. For more information about building Route53 traffic policy documents, see the [AWS Route53 Traffic Policy document format](https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html) The following arguments are optional:
        Returns:
        builder
      • name

        public TrafficPolicyState.Builder name​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the traffic policy.
        Returns:
        builder
      • name

        public TrafficPolicyState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the traffic policy.
        Returns:
        builder
      • type

        public TrafficPolicyState.Builder type​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
        Returns:
        builder
      • type

        public TrafficPolicyState.Builder type​(java.lang.String type)
        Parameters:
        type - DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
        Returns:
        builder
      • version

        public TrafficPolicyState.Builder version​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> version)
        Parameters:
        version - Version number of the traffic policy. This value is automatically incremented by AWS after each update of this resource.
        Returns:
        builder
      • version

        public TrafficPolicyState.Builder version​(java.lang.Integer version)
        Parameters:
        version - Version number of the traffic policy. This value is automatically incremented by AWS after each update of this resource.
        Returns:
        builder