* A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key * name is the Availability Zone where the resource is deployed. The value is 1 or 0. *
*/ private java.util.Map* The Amazon Resource Name (ARN) for the resource. *
*/ private String arn; /** ** The name of the resource. *
*/ private String name; /** ** The zonal shifts that are currently active for a resource. *
*/ private java.util.List* A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key * name is the Availability Zone where the resource is deployed. The value is 1 or 0. *
* * @return A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. * The key name is the Availability Zone where the resource is deployed. The value is 1 or 0. */ public java.util.Map* A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key * name is the Availability Zone where the resource is deployed. The value is 1 or 0. *
* * @param appliedWeights * A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. * The key name is the Availability Zone where the resource is deployed. The value is 1 or 0. */ public void setAppliedWeights(java.util.Map* A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key * name is the Availability Zone where the resource is deployed. The value is 1 or 0. *
* * @param appliedWeights * A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. * The key name is the Availability Zone where the resource is deployed. The value is 1 or 0. * @return Returns a reference to this object so that method calls can be chained together. */ public GetManagedResourceResult withAppliedWeights(java.util.Map* The Amazon Resource Name (ARN) for the resource. *
* * @param arn * The Amazon Resource Name (ARN) for the resource. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) for the resource. *
* * @return The Amazon Resource Name (ARN) for the resource. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) for the resource. *
* * @param arn * The Amazon Resource Name (ARN) for the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public GetManagedResourceResult withArn(String arn) { setArn(arn); return this; } /** ** The name of the resource. *
* * @param name * The name of the resource. */ public void setName(String name) { this.name = name; } /** ** The name of the resource. *
* * @return The name of the resource. */ public String getName() { return this.name; } /** ** The name of the resource. *
* * @param name * The name of the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public GetManagedResourceResult withName(String name) { setName(name); return this; } /** ** The zonal shifts that are currently active for a resource. *
* * @return The zonal shifts that are currently active for a resource. */ public java.util.List* The zonal shifts that are currently active for a resource. *
* * @param zonalShifts * The zonal shifts that are currently active for a resource. */ public void setZonalShifts(java.util.Collection* The zonal shifts that are currently active for a resource. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setZonalShifts(java.util.Collection)} or {@link #withZonalShifts(java.util.Collection)} if you want to * override the existing values. *
* * @param zonalShifts * The zonal shifts that are currently active for a resource. * @return Returns a reference to this object so that method calls can be chained together. */ public GetManagedResourceResult withZonalShifts(ZonalShiftInResource... zonalShifts) { if (this.zonalShifts == null) { setZonalShifts(new java.util.ArrayList* The zonal shifts that are currently active for a resource. *
* * @param zonalShifts * The zonal shifts that are currently active for a resource. * @return Returns a reference to this object so that method calls can be chained together. */ public GetManagedResourceResult withZonalShifts(java.util.Collection