@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Used to specify configuration options for a volume’s storage aggregate or aggregates.
Constructor and Description |
---|
AggregateConfiguration() |
Modifier and Type | Method and Description |
---|---|
AggregateConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAggregates()
The list of aggregates that this volume resides on.
|
Integer |
getTotalConstituents()
The total number of constituents this FlexGroup volume has.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregates(Collection<String> aggregates)
The list of aggregates that this volume resides on.
|
void |
setTotalConstituents(Integer totalConstituents)
The total number of constituents this FlexGroup volume has.
|
String |
toString()
Returns a string representation of this object.
|
AggregateConfiguration |
withAggregates(Collection<String> aggregates)
The list of aggregates that this volume resides on.
|
AggregateConfiguration |
withAggregates(String... aggregates)
The list of aggregates that this volume resides on.
|
AggregateConfiguration |
withTotalConstituents(Integer totalConstituents)
The total number of constituents this FlexGroup volume has.
|
public List<String> getAggregates()
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
, where X is a
number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
,
where X is a number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
public void setAggregates(Collection<String> aggregates)
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
, where X is a
number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
aggregates
- The list of aggregates that this volume resides on. Aggregates are storage pools which make up your
primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map
to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single
entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
, where
X is a number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
public AggregateConfiguration withAggregates(String... aggregates)
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
, where X is a
number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
NOTE: This method appends the values to the existing list (if any). Use
setAggregates(java.util.Collection)
or withAggregates(java.util.Collection)
if you want to
override the existing values.
aggregates
- The list of aggregates that this volume resides on. Aggregates are storage pools which make up your
primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map
to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single
entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
, where
X is a number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
public AggregateConfiguration withAggregates(Collection<String> aggregates)
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
, where X is a
number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
aggregates
- The list of aggregates that this volume resides on. Aggregates are storage pools which make up your
primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map
to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single
entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
The strings in the value of Aggregates
are not are not formatted as aggrX
, where
X is a number between 1 and 12.
The value of Aggregates
contains aggregates that are not present.
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
public void setTotalConstituents(Integer totalConstituents)
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
totalConstituents
- The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.public Integer getTotalConstituents()
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
public AggregateConfiguration withTotalConstituents(Integer totalConstituents)
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
totalConstituents
- The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.public String toString()
toString
in class Object
Object.toString()
public AggregateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.