@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficDistributionGroupSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about traffic distribution groups.
| Constructor and Description |
|---|
TrafficDistributionGroupSummary() |
| Modifier and Type | Method and Description |
|---|---|
TrafficDistributionGroupSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the traffic distribution group.
|
String |
getId()
The identifier of the traffic distribution group.
|
String |
getInstanceArn()
The Amazon Resource Name (ARN) of the traffic distribution group.
|
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.
|
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 |
setId(String id)
The identifier of the traffic distribution group.
|
void |
setInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the traffic distribution group.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
TrafficDistributionGroupSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the traffic distribution group.
|
TrafficDistributionGroupSummary |
withId(String id)
The identifier of the traffic distribution group.
|
TrafficDistributionGroupSummary |
withInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the traffic distribution group.
|
TrafficDistributionGroupSummary |
withIsDefault(Boolean isDefault)
Whether this is the default traffic distribution group created during instance replication.
|
TrafficDistributionGroupSummary |
withName(String name)
The name of the traffic distribution group.
|
TrafficDistributionGroupSummary |
withStatus(String status)
The status of the traffic distribution group.
|
TrafficDistributionGroupSummary |
withStatus(TrafficDistributionGroupStatus status)
The status of the traffic distribution group.
|
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 TrafficDistributionGroupSummary 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 TrafficDistributionGroupSummary 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 TrafficDistributionGroupSummary withName(String name)
The name of the traffic distribution group.
name - The name of the traffic distribution group.public void setInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the traffic distribution group.
instanceArn - The Amazon Resource Name (ARN) of the traffic distribution group.public String getInstanceArn()
The Amazon Resource Name (ARN) of the traffic distribution group.
public TrafficDistributionGroupSummary withInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the traffic distribution group.
instanceArn - The Amazon Resource Name (ARN) of the traffic distribution group.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 UpdateTrafficDistributionGroup 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 UpdateTrafficDistributionGroup 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 UpdateTrafficDistributionGroup 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 UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
TrafficDistributionGroupStatuspublic TrafficDistributionGroupSummary 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 UpdateTrafficDistributionGroup 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 UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
TrafficDistributionGroupStatuspublic TrafficDistributionGroupSummary 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 UpdateTrafficDistributionGroup 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 UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
TrafficDistributionGroupStatuspublic 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.
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.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.
DeleteTrafficDistributionGroup API. The
default traffic distribution group is deleted as part of the process for deleting a replica.public TrafficDistributionGroupSummary 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.
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.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.
DeleteTrafficDistributionGroup API. The
default traffic distribution group is deleted as part of the process for deleting a replica.public String toString()
toString in class ObjectObject.toString()public TrafficDistributionGroupSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.