Package com.vmware.nsx_policy.model
Class ErrorResolverMetadata.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ErrorResolverMetadata.Builder
-
- Enclosing class:
- ErrorResolverMetadata
public static final class ErrorResolverMetadata.Builder extends java.lang.Object
Builder class forErrorResolverMetadata
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofErrorResolverMetadata
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResolverMetadata
build()
ErrorResolverMetadata.Builder
setEntityId(java.lang.String entityId)
The entity/node UUID where the error has occurred.ErrorResolverMetadata.Builder
setErrorId(java.lang.Long errorId)
The error id as reported by the entity where the error occurred.ErrorResolverMetadata.Builder
setSystemMetadata(ErrorResolverSystemMetadata systemMetadata)
ErrorResolverMetadata.Builder
setUserMetadata(ErrorResolverUserMetadata userMetadata)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofErrorResolverMetadata
.
-
-
Method Detail
-
setEntityId
public ErrorResolverMetadata.Builder setEntityId(java.lang.String entityId)
The entity/node UUID where the error has occurred.- Parameters:
entityId
- New value for the property.
-
setErrorId
public ErrorResolverMetadata.Builder setErrorId(java.lang.Long errorId)
The error id as reported by the entity where the error occurred. format: int64- Parameters:
errorId
- New value for the property.
-
setSystemMetadata
public ErrorResolverMetadata.Builder setSystemMetadata(ErrorResolverSystemMetadata systemMetadata)
- Parameters:
systemMetadata
- New value for the property.
-
setUserMetadata
public ErrorResolverMetadata.Builder setUserMetadata(ErrorResolverUserMetadata userMetadata)
- Parameters:
userMetadata
- New value for the property.
-
build
public ErrorResolverMetadata build()
-
-