Interface TrafficDistributionGroup.Builder

    • Method Detail

      • id

        TrafficDistributionGroup.Builder id​(String id)

        The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

        Parameters:
        id - The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        TrafficDistributionGroup.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the traffic distribution group.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the traffic distribution group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        TrafficDistributionGroup.Builder name​(String name)

        The name of the traffic distribution group.

        Parameters:
        name - The name of the traffic distribution group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        TrafficDistributionGroup.Builder description​(String description)

        The description of the traffic distribution group.

        Parameters:
        description - The description of the traffic distribution group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceArn

        TrafficDistributionGroup.Builder instanceArn​(String instanceArn)

        The Amazon Resource Name (ARN).

        Parameters:
        instanceArn - The Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        TrafficDistributionGroup.Builder tags​(Map<String,​String> tags)

        The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

        Parameters:
        tags - The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDefault

        TrafficDistributionGroup.Builder isDefault​(Boolean isDefault)

        Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

        The SignInConfig distribution is available only on a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

        Parameters:
        isDefault - Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

        The SignInConfig distribution is available only on a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

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