@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","FilesSharedPublicUrlParamsIF"}) @Immutable public final class FilesSharedPublicUrlParams extends Object implements FilesSharedPublicUrlParamsIF
FilesSharedPublicUrlParamsIF.
Use the builder to create immutable instances:
FilesSharedPublicUrlParams.builder().
Use the static factory method to create immutable instances:
FilesSharedPublicUrlParams.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
FilesSharedPublicUrlParams.Builder
Builds instances of type
FilesSharedPublicUrlParams. |
| Modifier and Type | Method and Description |
|---|---|
static FilesSharedPublicUrlParams.Builder |
builder()
Creates a builder for
FilesSharedPublicUrlParams. |
static FilesSharedPublicUrlParams |
copyOf(FilesSharedPublicUrlParamsIF instance)
Creates an immutable copy of a
FilesSharedPublicUrlParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
FilesSharedPublicUrlParams that have equal attribute values. |
String |
getFileId() |
int |
hashCode()
Computes a hash code from attributes:
fileId. |
static FilesSharedPublicUrlParams |
of(String fileId)
Construct a new immutable
FilesSharedPublicUrlParams instance. |
String |
toString()
Prints the immutable value
FilesSharedPublicUrlParams with attribute values. |
FilesSharedPublicUrlParams |
withFileId(String fileId)
Copy the current immutable object by setting a value for the
fileId attribute. |
public String getFileId()
getFileId in interface FilesSharedPublicUrlParamsIFfileId attributepublic final FilesSharedPublicUrlParams withFileId(String fileId)
fileId attribute.
An equals check used to prevent copying of the same value by returning this.fileId - A new value for fileIdthis objectpublic boolean equals(@Nullable Object another)
FilesSharedPublicUrlParams that have equal attribute values.public int hashCode()
fileId.public String toString()
FilesSharedPublicUrlParams with attribute values.public static FilesSharedPublicUrlParams of(String fileId)
FilesSharedPublicUrlParams instance.fileId - The value for the fileId attributepublic static FilesSharedPublicUrlParams copyOf(FilesSharedPublicUrlParamsIF instance)
FilesSharedPublicUrlParamsIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static FilesSharedPublicUrlParams.Builder builder()
FilesSharedPublicUrlParams.Copyright © 2019. All rights reserved.