Package com.dropbox.core.v2.teamlog
Class FileRequestDeleteDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FileRequestDeleteDetails.Builder
-
- Enclosing class:
- FileRequestDeleteDetails
public static class FileRequestDeleteDetails.Builder extends java.lang.Object
Builder forFileRequestDeleteDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fileRequestId
protected FileRequestDetails
previousDetails
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRequestDeleteDetails
build()
Builds an instance ofFileRequestDeleteDetails
configured with this builder's valuesFileRequestDeleteDetails.Builder
withFileRequestId(java.lang.String fileRequestId)
Set value for optional field.FileRequestDeleteDetails.Builder
withPreviousDetails(FileRequestDetails previousDetails)
Set value for optional field.
-
-
-
Field Detail
-
fileRequestId
protected java.lang.String fileRequestId
-
previousDetails
protected FileRequestDetails previousDetails
-
-
Method Detail
-
withFileRequestId
public FileRequestDeleteDetails.Builder withFileRequestId(java.lang.String fileRequestId)
Set value for optional field.- Parameters:
fileRequestId
- File request id. Might be missing due to historical data gap. Must have length of at least 1 and match pattern "[-_0-9a-zA-Z]+
".- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withPreviousDetails
public FileRequestDeleteDetails.Builder withPreviousDetails(FileRequestDetails previousDetails)
Set value for optional field.- Parameters:
previousDetails
- Previous file request details. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public FileRequestDeleteDetails build()
Builds an instance ofFileRequestDeleteDetails
configured with this builder's values- Returns:
- new instance of
FileRequestDeleteDetails
-
-