@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedResourceSummary extends Object implements Serializable, Cloneable, StructuredPojo
A complex structure for a managed resource in an account.
A managed resource is a Network Load Balancer or Application Load Balancer that has been registered with Route 53 ARC by Elastic Load Balancing. You can start a zonal shift in Route 53 ARC for a managed resource to temporarily move traffic for the resource away from an Availability Zone in an AWS Region.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
| Constructor and Description |
|---|
ManagedResourceSummary() |
| Modifier and Type | Method and Description |
|---|---|
ManagedResourceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the managed resource.
|
List<String> |
getAvailabilityZones()
The Availability Zones that a resource is deployed in.
|
String |
getName()
The name of the managed resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the managed resource.
|
void |
setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones that a resource is deployed in.
|
void |
setName(String name)
The name of the managed resource.
|
String |
toString()
Returns a string representation of this object.
|
ManagedResourceSummary |
withArn(String arn)
The Amazon Resource Name (ARN) for the managed resource.
|
ManagedResourceSummary |
withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones that a resource is deployed in.
|
ManagedResourceSummary |
withAvailabilityZones(String... availabilityZones)
The Availability Zones that a resource is deployed in.
|
ManagedResourceSummary |
withName(String name)
The name of the managed resource.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) for the managed resource.
arn - The Amazon Resource Name (ARN) for the managed resource.public String getArn()
The Amazon Resource Name (ARN) for the managed resource.
public ManagedResourceSummary withArn(String arn)
The Amazon Resource Name (ARN) for the managed resource.
arn - The Amazon Resource Name (ARN) for the managed resource.public List<String> getAvailabilityZones()
The Availability Zones that a resource is deployed in.
public void setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones that a resource is deployed in.
availabilityZones - The Availability Zones that a resource is deployed in.public ManagedResourceSummary withAvailabilityZones(String... availabilityZones)
The Availability Zones that a resource is deployed in.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection) or withAvailabilityZones(java.util.Collection) if
you want to override the existing values.
availabilityZones - The Availability Zones that a resource is deployed in.public ManagedResourceSummary withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones that a resource is deployed in.
availabilityZones - The Availability Zones that a resource is deployed in.public void setName(String name)
The name of the managed resource.
name - The name of the managed resource.public String getName()
The name of the managed resource.
public ManagedResourceSummary withName(String name)
The name of the managed resource.
name - The name of the managed resource.public String toString()
toString in class ObjectObject.toString()public ManagedResourceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.