Class UnableToAllocateResource.Builder
- java.lang.Object
-
- com.vmware.vapi.std.errors.UnableToAllocateResource.Builder
-
- Enclosing class:
- UnableToAllocateResource
public static final class UnableToAllocateResource.Builder extends java.lang.Object
Builder class forUnableToAllocateResource
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.util.List<LocalizableMessage> messages)
Constructor with parameters for the required properties ofUnableToAllocateResource
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnableToAllocateResource
build()
UnableToAllocateResource.Builder
setData(Structure data)
Data to facilitate clients responding to the method reporting a standard exception to indicating that it was unable to complete successfully.
-
-
-
Constructor Detail
-
Builder
public Builder(java.util.List<LocalizableMessage> messages)
Constructor with parameters for the required properties ofUnableToAllocateResource
.
-
-
Method Detail
-
setData
public UnableToAllocateResource.Builder setData(Structure data)
Data to facilitate clients responding to the method reporting a standard exception to indicating that it was unable to complete successfully.Methods may provide data that clients can use when responding to exceptions. Since the data that clients need may be specific to the context of the method reporting the exception, different methods that report the same exception may provide different data in the exception. The documentation for each each method will describe what, if any, data it provides for each exception it reports.
The
Some methods will not set this property when reporting exceptions.ArgumentLocations
,FileLocations
, andTransientIndication
classes are intended as possible values for this property.DynamicID
may also be useful as a value for this property (although that is not its primary purpose). Some interfaces may provide their own specific classes for use as the value of this property when reporting exceptions from their methods.- Parameters:
data
- New value for the property.
-
build
public UnableToAllocateResource build()
-
-