Package com.pulumi.aws.route53.inputs
Class GetTrafficPolicyDocumentRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.route53.inputs.GetTrafficPolicyDocumentRuleArgs.Builder
-
- Enclosing class:
- GetTrafficPolicyDocumentRuleArgs
public static final class GetTrafficPolicyDocumentRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetTrafficPolicyDocumentRuleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetTrafficPolicyDocumentRuleArgs defaults)
-
-
Method Detail
-
geoProximityLocations
public GetTrafficPolicyDocumentRuleArgs.Builder geoProximityLocations(@Nullable com.pulumi.core.Output<java.util.List<GetTrafficPolicyDocumentRuleGeoProximityLocationArgs>> geoProximityLocations)
- Parameters:
geoProximityLocations- Configuration block for when you add a geoproximity rule, you configure Amazon Route 53 to route traffic to your resources based on the geographic location of your resources. Only valid for `geoproximity` type. See below- Returns:
- builder
-
geoProximityLocations
public GetTrafficPolicyDocumentRuleArgs.Builder geoProximityLocations(java.util.List<GetTrafficPolicyDocumentRuleGeoProximityLocationArgs> geoProximityLocations)
- Parameters:
geoProximityLocations- Configuration block for when you add a geoproximity rule, you configure Amazon Route 53 to route traffic to your resources based on the geographic location of your resources. Only valid for `geoproximity` type. See below- Returns:
- builder
-
geoProximityLocations
public GetTrafficPolicyDocumentRuleArgs.Builder geoProximityLocations(GetTrafficPolicyDocumentRuleGeoProximityLocationArgs... geoProximityLocations)
- Parameters:
geoProximityLocations- Configuration block for when you add a geoproximity rule, you configure Amazon Route 53 to route traffic to your resources based on the geographic location of your resources. Only valid for `geoproximity` type. See below- Returns:
- builder
-
id
public GetTrafficPolicyDocumentRuleArgs.Builder id(com.pulumi.core.Output<java.lang.String> id)
- Parameters:
id- ID of a rule you want to assign.- Returns:
- builder
-
id
public GetTrafficPolicyDocumentRuleArgs.Builder id(java.lang.String id)
- Parameters:
id- ID of a rule you want to assign.- Returns:
- builder
-
items
public GetTrafficPolicyDocumentRuleArgs.Builder items(@Nullable com.pulumi.core.Output<java.util.List<GetTrafficPolicyDocumentRuleItemArgs>> items)
- Parameters:
items- Configuration block for when you add a multivalue answer rule, you configure your traffic policy to route traffic approximately randomly to your healthy resources. Only valid for `multivalue` type. See below- Returns:
- builder
-
items
public GetTrafficPolicyDocumentRuleArgs.Builder items(java.util.List<GetTrafficPolicyDocumentRuleItemArgs> items)
- Parameters:
items- Configuration block for when you add a multivalue answer rule, you configure your traffic policy to route traffic approximately randomly to your healthy resources. Only valid for `multivalue` type. See below- Returns:
- builder
-
items
public GetTrafficPolicyDocumentRuleArgs.Builder items(GetTrafficPolicyDocumentRuleItemArgs... items)
- Parameters:
items- Configuration block for when you add a multivalue answer rule, you configure your traffic policy to route traffic approximately randomly to your healthy resources. Only valid for `multivalue` type. See below- Returns:
- builder
-
locations
public GetTrafficPolicyDocumentRuleArgs.Builder locations(@Nullable com.pulumi.core.Output<java.util.List<GetTrafficPolicyDocumentRuleLocationArgs>> locations)
- Parameters:
locations- Configuration block for when you add a geolocation rule, you configure your traffic policy to route your traffic based on the geographic location of your users. Only valid for `geo` type. See below- Returns:
- builder
-
locations
public GetTrafficPolicyDocumentRuleArgs.Builder locations(java.util.List<GetTrafficPolicyDocumentRuleLocationArgs> locations)
- Parameters:
locations- Configuration block for when you add a geolocation rule, you configure your traffic policy to route your traffic based on the geographic location of your users. Only valid for `geo` type. See below- Returns:
- builder
-
locations
public GetTrafficPolicyDocumentRuleArgs.Builder locations(GetTrafficPolicyDocumentRuleLocationArgs... locations)
- Parameters:
locations- Configuration block for when you add a geolocation rule, you configure your traffic policy to route your traffic based on the geographic location of your users. Only valid for `geo` type. See below- Returns:
- builder
-
primary
public GetTrafficPolicyDocumentRuleArgs.Builder primary(@Nullable com.pulumi.core.Output<GetTrafficPolicyDocumentRulePrimaryArgs> primary)
- Parameters:
primary- Configuration block for the settings for the rule or endpoint that you want to route traffic to whenever the corresponding resources are available. Only valid for `failover` type. See below- Returns:
- builder
-
primary
public GetTrafficPolicyDocumentRuleArgs.Builder primary(GetTrafficPolicyDocumentRulePrimaryArgs primary)
- Parameters:
primary- Configuration block for the settings for the rule or endpoint that you want to route traffic to whenever the corresponding resources are available. Only valid for `failover` type. See below- Returns:
- builder
-
regions
public GetTrafficPolicyDocumentRuleArgs.Builder regions(@Nullable com.pulumi.core.Output<java.util.List<GetTrafficPolicyDocumentRuleRegionArgs>> regions)
-
regions
public GetTrafficPolicyDocumentRuleArgs.Builder regions(java.util.List<GetTrafficPolicyDocumentRuleRegionArgs> regions)
-
regions
public GetTrafficPolicyDocumentRuleArgs.Builder regions(GetTrafficPolicyDocumentRuleRegionArgs... regions)
-
secondary
public GetTrafficPolicyDocumentRuleArgs.Builder secondary(@Nullable com.pulumi.core.Output<GetTrafficPolicyDocumentRuleSecondaryArgs> secondary)
- Parameters:
secondary- Configuration block for the rule or endpoint that you want to route traffic to whenever the primary resources are not available. Only valid for `failover` type. See below- Returns:
- builder
-
secondary
public GetTrafficPolicyDocumentRuleArgs.Builder secondary(GetTrafficPolicyDocumentRuleSecondaryArgs secondary)
- Parameters:
secondary- Configuration block for the rule or endpoint that you want to route traffic to whenever the primary resources are not available. Only valid for `failover` type. See below- Returns:
- builder
-
type
public GetTrafficPolicyDocumentRuleArgs.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- Type of the rule.- Returns:
- builder
-
type
public GetTrafficPolicyDocumentRuleArgs.Builder type(java.lang.String type)
- Parameters:
type- Type of the rule.- Returns:
- builder
-
build
public GetTrafficPolicyDocumentRuleArgs build()
-
-