Package com.oracle.bmc.apmconfig.model
Class DataFileSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.model.DataFileSummary.Builder
-
- Enclosing class:
- DataFileSummary
public static class DataFileSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFileSummary.BuilderapmType(String apmType)The type of the data file, indicating its intended use Example: source_mapDataFileSummarybuild()DataFileSummary.Buildercopy(DataFileSummary model)DataFileSummary.Buildermd5(String md5)Base64-encoded MD5 hash of the object data.DataFileSummary.Buildermetadata(Map<String,String> metadata)Metadata properties related to the data file.DataFileSummary.Buildername(String name)The name to use as identifier for the data file.DataFileSummary.BuildersizeInBytes(Long sizeInBytes)Size of the object in bytes.DataFileSummary.BuildertimeLastModified(Date timeLastModified)The last time the object was modified, as described in RFC 2616.
-
-
-
Method Detail
-
name
public DataFileSummary.Builder name(String name)
The name to use as identifier for the data file.- Parameters:
name- the value to set- Returns:
- this builder
-
apmType
public DataFileSummary.Builder apmType(String apmType)
The type of the data file, indicating its intended use Example: source_map- Parameters:
apmType- the value to set- Returns:
- this builder
-
sizeInBytes
public DataFileSummary.Builder sizeInBytes(Long sizeInBytes)
Size of the object in bytes.- Parameters:
sizeInBytes- the value to set- Returns:
- this builder
-
md5
public DataFileSummary.Builder md5(String md5)
Base64-encoded MD5 hash of the object data.- Parameters:
md5- the value to set- Returns:
- this builder
-
timeLastModified
public DataFileSummary.Builder timeLastModified(Date timeLastModified)
The last time the object was modified, as described in RFC 2616.Expressed in RFC 3339 timestamp format. Example: 2020-02-19T22:47:12.613Z
- Parameters:
timeLastModified- the value to set- Returns:
- this builder
-
metadata
public DataFileSummary.Builder metadata(Map<String,String> metadata)
Metadata properties related to the data file.- Parameters:
metadata- the value to set- Returns:
- this builder
-
build
public DataFileSummary build()
-
copy
public DataFileSummary.Builder copy(DataFileSummary model)
-
-