public static class Drive.Builder extends Item.Builder
Modifier and Type | Field and Description |
---|---|
protected Owner |
owner |
protected DriveStatus |
status |
name, resourceUri, uuid
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Drive |
build() |
boolean |
equals(Object obj) |
int |
hashCode() |
Drive.Builder |
name(String name) |
Drive.Builder |
owner(Owner owner) |
Drive.Builder |
resourceUri(URI resourceUri) |
Drive.Builder |
status(DriveStatus status) |
Drive.Builder |
uuid(String uuid) |
protected Owner owner
protected DriveStatus status
public Drive.Builder owner(Owner owner)
owner
- Owner of the drivepublic Drive.Builder status(DriveStatus status)
status
- Status of the drivepublic Drive.Builder uuid(String uuid)
uuid
in class Item.Builder
uuid
- UUID of the drivepublic Drive.Builder name(String name)
name
in class Item.Builder
name
- Human readable name of the drivepublic Drive.Builder resourceUri(URI resourceUri)
resourceUri
in class Item.Builder
public Drive build()
build
in class Item.Builder
public int hashCode()
hashCode
in class Item.Builder
public boolean equals(Object obj)
equals
in class Item.Builder
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.