Package com.dropbox.core.v2.teamlog
Class FileRequestChangeDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FileRequestChangeDetails.Builder
-
- Enclosing class:
- FileRequestChangeDetails
public static class FileRequestChangeDetails.Builder extends java.lang.Object
Builder forFileRequestChangeDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fileRequestId
protected FileRequestDetails
newDetails
protected FileRequestDetails
previousDetails
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(FileRequestDetails newDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRequestChangeDetails
build()
Builds an instance ofFileRequestChangeDetails
configured with this builder's valuesFileRequestChangeDetails.Builder
withFileRequestId(java.lang.String fileRequestId)
Set value for optional field.FileRequestChangeDetails.Builder
withPreviousDetails(FileRequestDetails previousDetails)
Set value for optional field.
-
-
-
Field Detail
-
newDetails
protected final FileRequestDetails newDetails
-
fileRequestId
protected java.lang.String fileRequestId
-
previousDetails
protected FileRequestDetails previousDetails
-
-
Constructor Detail
-
Builder
protected Builder(FileRequestDetails newDetails)
-
-
Method Detail
-
withFileRequestId
public FileRequestChangeDetails.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 FileRequestChangeDetails.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 FileRequestChangeDetails build()
Builds an instance ofFileRequestChangeDetails
configured with this builder's values- Returns:
- new instance of
FileRequestChangeDetails
-
-