@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficDistributionGroup extends Object implements Serializable, Cloneable, StructuredPojo
Information about a traffic distribution group.
| Constructor and Description | 
|---|
| TrafficDistributionGroup() | 
| Modifier and Type | Method and Description | 
|---|---|
| TrafficDistributionGroup | addTagsEntry(String key,
            String value)Add a single Tags entry | 
| TrafficDistributionGroup | clearTagsEntries()Removes all the entries added into Tags. | 
| TrafficDistributionGroup | clone() | 
| boolean | equals(Object obj) | 
| String | getArn()
 The Amazon Resource Name (ARN) of the traffic distribution group. | 
| String | getDescription()
 The description of the traffic distribution group. | 
| String | getId()
 The identifier of the traffic distribution group. | 
| String | getInstanceArn()
 The Amazon Resource Name (ARN). | 
| Boolean | getIsDefault()
 Whether this is the default traffic distribution group created during instance replication. | 
| String | getName()
 The name of the traffic distribution group. | 
| String | getStatus()
 The status of the traffic distribution group. | 
| Map<String,String> | getTags()
 The tags used to organize, track, or control access for this resource. | 
| int | hashCode() | 
| Boolean | isDefault()
 Whether this is the default traffic distribution group created during instance replication. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setArn(String arn)
 The Amazon Resource Name (ARN) of the traffic distribution group. | 
| void | setDescription(String description)
 The description of the traffic distribution group. | 
| void | setId(String id)
 The identifier of the traffic distribution group. | 
| void | setInstanceArn(String instanceArn)
 The Amazon Resource Name (ARN). | 
| void | setIsDefault(Boolean isDefault)
 Whether this is the default traffic distribution group created during instance replication. | 
| void | setName(String name)
 The name of the traffic distribution group. | 
| void | setStatus(String status)
 The status of the traffic distribution group. | 
| void | setTags(Map<String,String> tags)
 The tags used to organize, track, or control access for this resource. | 
| String | toString()Returns a string representation of this object. | 
| TrafficDistributionGroup | withArn(String arn)
 The Amazon Resource Name (ARN) of the traffic distribution group. | 
| TrafficDistributionGroup | withDescription(String description)
 The description of the traffic distribution group. | 
| TrafficDistributionGroup | withId(String id)
 The identifier of the traffic distribution group. | 
| TrafficDistributionGroup | withInstanceArn(String instanceArn)
 The Amazon Resource Name (ARN). | 
| TrafficDistributionGroup | withIsDefault(Boolean isDefault)
 Whether this is the default traffic distribution group created during instance replication. | 
| TrafficDistributionGroup | withName(String name)
 The name of the traffic distribution group. | 
| TrafficDistributionGroup | withStatus(String status)
 The status of the traffic distribution group. | 
| TrafficDistributionGroup | withStatus(TrafficDistributionGroupStatus status)
 The status of the traffic distribution group. | 
| TrafficDistributionGroup | withTags(Map<String,String> tags)
 The tags used to organize, track, or control access for this resource. | 
public void setId(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.
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.public String getId()
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.
public TrafficDistributionGroup withId(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.
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.public void setArn(String arn)
The Amazon Resource Name (ARN) of the traffic distribution group.
arn - The Amazon Resource Name (ARN) of the traffic distribution group.public String getArn()
The Amazon Resource Name (ARN) of the traffic distribution group.
public TrafficDistributionGroup withArn(String arn)
The Amazon Resource Name (ARN) of the traffic distribution group.
arn - The Amazon Resource Name (ARN) of the traffic distribution group.public void setName(String name)
The name of the traffic distribution group.
name - The name of the traffic distribution group.public String getName()
The name of the traffic distribution group.
public TrafficDistributionGroup withName(String name)
The name of the traffic distribution group.
name - The name of the traffic distribution group.public void setDescription(String description)
The description of the traffic distribution group.
description - The description of the traffic distribution group.public String getDescription()
The description of the traffic distribution group.
public TrafficDistributionGroup withDescription(String description)
The description of the traffic distribution group.
description - The description of the traffic distribution group.public void setInstanceArn(String instanceArn)
The Amazon Resource Name (ARN).
instanceArn - The Amazon Resource Name (ARN).public String getInstanceArn()
The Amazon Resource Name (ARN).
public TrafficDistributionGroup withInstanceArn(String instanceArn)
The Amazon Resource Name (ARN).
instanceArn - The Amazon Resource Name (ARN).public void setStatus(String status)
The status of the traffic distribution group.
 CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
 
 CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
 
 PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
 
 UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
 
status - The status of the traffic distribution group.
        
        CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
        
        ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
        
        CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
        
        PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
        
        DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
        
        UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
        
TrafficDistributionGroupStatuspublic String getStatus()
The status of the traffic distribution group.
 CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
 
 CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
 
 PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
 
 UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
 
         CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
         
         ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
         
         CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
         
         PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
         
         DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
         
         UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
         
TrafficDistributionGroupStatuspublic TrafficDistributionGroup withStatus(String status)
The status of the traffic distribution group.
 CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
 
 CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
 
 PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
 
 UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
 
status - The status of the traffic distribution group.
        
        CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
        
        ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
        
        CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
        
        PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
        
        DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
        
        UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
        
TrafficDistributionGroupStatuspublic TrafficDistributionGroup withStatus(TrafficDistributionGroupStatus status)
The status of the traffic distribution group.
 CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
 
 CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
 
 PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
 
 DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
 
 UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
 
status - The status of the traffic distribution group.
        
        CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
        
        ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded.
        
        CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed.
        
        PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
        
        DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed.
        
        UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
        
TrafficDistributionGroupStatuspublic Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "Tags":
        {"key1":"value1", "key2":"value2"} }.public TrafficDistributionGroup withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "Tags":
        {"key1":"value1", "key2":"value2"} }.public TrafficDistributionGroup addTagsEntry(String key, String value)
public TrafficDistributionGroup clearTagsEntries()
public void setIsDefault(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.
 
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.
        
public Boolean getIsDefault()
 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.
 
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.
         
public TrafficDistributionGroup withIsDefault(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.
 
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.
        
public 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.
 
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.
         
public String toString()
toString in class ObjectObject.toString()public TrafficDistributionGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.