@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAggregateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Used to specify the configuration options for an FSx for ONTAP volume's storage aggregate or aggregates.
Constructor and Description |
---|
CreateAggregateConfiguration() |
Modifier and Type | Method and Description |
---|---|
CreateAggregateConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAggregates()
Used to specify the names of aggregates on which the volume will be created.
|
Integer |
getConstituentsPerAggregate()
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregates(Collection<String> aggregates)
Used to specify the names of aggregates on which the volume will be created.
|
void |
setConstituentsPerAggregate(Integer constituentsPerAggregate)
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate.
|
String |
toString()
Returns a string representation of this object.
|
CreateAggregateConfiguration |
withAggregates(Collection<String> aggregates)
Used to specify the names of aggregates on which the volume will be created.
|
CreateAggregateConfiguration |
withAggregates(String... aggregates)
Used to specify the names of aggregates on which the volume will be created.
|
CreateAggregateConfiguration |
withConstituentsPerAggregate(Integer constituentsPerAggregate)
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate.
|
public List<String> getAggregates()
Used to specify the names of aggregates on which the volume will be created.
public void setAggregates(Collection<String> aggregates)
Used to specify the names of aggregates on which the volume will be created.
aggregates
- Used to specify the names of aggregates on which the volume will be created.public CreateAggregateConfiguration withAggregates(String... aggregates)
Used to specify the names of aggregates on which the volume will be created.
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
- Used to specify the names of aggregates on which the volume will be created.public CreateAggregateConfiguration withAggregates(Collection<String> aggregates)
Used to specify the names of aggregates on which the volume will be created.
aggregates
- Used to specify the names of aggregates on which the volume will be created.public void setConstituentsPerAggregate(Integer constituentsPerAggregate)
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field cannot be provided when creating a FlexVol volume.
constituentsPerAggregate
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field
is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field
cannot be provided when creating a FlexVol volume.public Integer getConstituentsPerAggregate()
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field cannot be provided when creating a FlexVol volume.
public CreateAggregateConfiguration withConstituentsPerAggregate(Integer constituentsPerAggregate)
Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field cannot be provided when creating a FlexVol volume.
constituentsPerAggregate
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. This field
is optional when creating a FlexGroup volume. If unspecified, the default value will be 8. This field
cannot be provided when creating a FlexVol volume.public String toString()
toString
in class Object
Object.toString()
public CreateAggregateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.