Interface TrafficDistributionGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficDistributionGroup.Builder,TrafficDistributionGroup>,SdkBuilder<TrafficDistributionGroup.Builder,TrafficDistributionGroup>,SdkPojo
- Enclosing class:
- TrafficDistributionGroup
public static interface TrafficDistributionGroup.Builder extends SdkPojo, CopyableBuilder<TrafficDistributionGroup.Builder,TrafficDistributionGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrafficDistributionGroup.Builderarn(String arn)The Amazon Resource Name (ARN) of the traffic distribution group.TrafficDistributionGroup.Builderdescription(String description)The description of the traffic distribution group.TrafficDistributionGroup.Builderid(String id)The identifier of the traffic distribution group.TrafficDistributionGroup.BuilderinstanceArn(String instanceArn)The Amazon Resource Name (ARN).TrafficDistributionGroup.BuilderisDefault(Boolean isDefault)Whether this is the default traffic distribution group created during instance replication.TrafficDistributionGroup.Buildername(String name)The name of the traffic distribution group.TrafficDistributionGroup.Builderstatus(String status)The status of the traffic distribution group.TrafficDistributionGroup.Builderstatus(TrafficDistributionGroupStatus status)The status of the traffic distribution group.TrafficDistributionGroup.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
status
TrafficDistributionGroup.Builder status(String status)
The status of the traffic distribution group.
-
CREATION_IN_PROGRESSmeans the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVEmeans the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILEDindicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETIONmeans the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILEDmeans the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESSmeans the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
- Parameters:
status- The status of the traffic distribution group.-
CREATION_IN_PROGRESSmeans the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVEmeans the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILEDindicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETIONmeans the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILEDmeans the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESSmeans the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrafficDistributionGroupStatus,TrafficDistributionGroupStatus
-
-
status
TrafficDistributionGroup.Builder status(TrafficDistributionGroupStatus status)
The status of the traffic distribution group.
-
CREATION_IN_PROGRESSmeans the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVEmeans the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILEDindicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETIONmeans the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILEDmeans the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESSmeans the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
- Parameters:
status- The status of the traffic distribution group.-
CREATION_IN_PROGRESSmeans the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVEmeans the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILEDindicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETIONmeans the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILEDmeans the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESSmeans the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrafficDistributionGroupStatus,TrafficDistributionGroupStatus
-
-
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
DeleteTrafficDistributionGroupAPI. The default traffic distribution group is deleted as part of the process for deleting a replica.The
SignInConfigdistribution is available only on a defaultTrafficDistributionGroup(see theIsDefaultparameter in the TrafficDistributionGroup data type). If you callUpdateTrafficDistributionwith a modifiedSignInConfigand a non-defaultTrafficDistributionGroup, anInvalidRequestExceptionis returned.- Parameters:
isDefault- Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by theDeleteTrafficDistributionGroupAPI. The default traffic distribution group is deleted as part of the process for deleting a replica.The
SignInConfigdistribution is available only on a defaultTrafficDistributionGroup(see theIsDefaultparameter in the TrafficDistributionGroup data type). If you callUpdateTrafficDistributionwith a modifiedSignInConfigand a non-defaultTrafficDistributionGroup, anInvalidRequestExceptionis returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-