ResizeError Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. ResizeError
- com.
public final class ResizeError
An error that occurred when resizing a pool.
Constructor Summary
Constructor | Description | |
---|---|---|
ResizeError() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: An identifier for the error. |
List<Resize |
details()
Get the details property: Additional details about the error. |
String |
message()
Get the message property: A message describing the error, intended to be suitable for display in a user interface. |
void |
validate()
Validates the instance. |
Resize |
withCode(String code)
Set the code property: An identifier for the error. |
Resize |
withDetails(List<ResizeError> details)
Set the details property: Additional details about the error. |
Resize |
withMessage(String message)
Set the message property: A message describing the error, intended to be suitable for display in a user interface. |
Methods inherited from java.lang.Object
Constructor Details
ResizeError
public ResizeError()
Method Details
code
public String code()
Get the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Returns:
details
public List
Get the details property: Additional details about the error.
Returns:
message
public String message()
Get the message property: A message describing the error, intended to be suitable for display in a user interface.
Returns:
validate
public void validate()
Validates the instance.
withCode
public ResizeError withCode(String code)
Set the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Parameters:
Returns:
withDetails
public ResizeError withDetails(List
Set the details property: Additional details about the error.
Parameters:
Returns:
withMessage
public ResizeError withMessage(String message)
Set the message property: A message describing the error, intended to be suitable for display in a user interface.
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