PlacementKeyValuePairs Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. PlacementKeyValuePairs
- com.
public final class PlacementKeyValuePairs
Application specific parameters for the placement of volumes in the volume group.
Constructor Summary
Constructor | Description |
---|---|
PlacementKeyValuePairs() |
Creates an instance of Placement |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
key()
Get the key property: Key for an application specific parameter for the placement of volumes in the volume group. |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Value for an application specific parameter for the placement of volumes in the volume group. |
Placement |
withKey(String key)
Set the key property: Key for an application specific parameter for the placement of volumes in the volume group. |
Placement |
withValue(String value)
Set the value property: Value for an application specific parameter for the placement of volumes in the volume group. |
Methods inherited from java.lang.Object
Constructor Details
PlacementKeyValuePairs
public PlacementKeyValuePairs()
Creates an instance of PlacementKeyValuePairs class.
Method Details
key
public String key()
Get the key property: Key for an application specific parameter for the placement of volumes in the volume group.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value for an application specific parameter for the placement of volumes in the volume group.
Returns:
withKey
public PlacementKeyValuePairs withKey(String key)
Set the key property: Key for an application specific parameter for the placement of volumes in the volume group.
Parameters:
Returns:
withValue
public PlacementKeyValuePairs withValue(String value)
Set the value property: Value for an application specific parameter for the placement of volumes in the volume group.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for