public static class StreamPoolSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StreamPoolSummary |
build() |
StreamPoolSummary.Builder |
compartmentId(String compartmentId)
Compartment OCID that the pool belongs to.
|
StreamPoolSummary.Builder |
copy(StreamPoolSummary model) |
StreamPoolSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
StreamPoolSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
StreamPoolSummary.Builder |
id(String id)
The OCID of the stream pool.
|
StreamPoolSummary.Builder |
isPrivate(Boolean isPrivate)
True if the stream pool is private, false otherwise.
|
StreamPoolSummary.Builder |
lifecycleState(StreamPoolSummary.LifecycleState lifecycleState)
The current state of the stream pool.
|
StreamPoolSummary.Builder |
name(String name)
The name of the stream pool.
|
StreamPoolSummary.Builder |
timeCreated(Date timeCreated)
The date and time the stream pool was created, expressed in in RFC
3339 timestamp format.
|
public StreamPoolSummary.Builder id(String id)
The OCID of the stream pool.
id
- the value to setpublic StreamPoolSummary.Builder compartmentId(String compartmentId)
Compartment OCID that the pool belongs to.
compartmentId
- the value to setpublic StreamPoolSummary.Builder name(String name)
The name of the stream pool.
name
- the value to setpublic StreamPoolSummary.Builder lifecycleState(StreamPoolSummary.LifecycleState lifecycleState)
The current state of the stream pool.
lifecycleState
- the value to setpublic StreamPoolSummary.Builder timeCreated(Date timeCreated)
The date and time the stream pool was created, expressed in in RFC 3339 timestamp format.
Example: 2018-04-20T00:00:07.405Z
timeCreated
- the value to setpublic StreamPoolSummary.Builder isPrivate(Boolean isPrivate)
True if the stream pool is private, false otherwise. The associated endpoint and subnetId
of a private stream pool can be retrieved through the getStreamPool
API.
isPrivate
- the value to setpublic StreamPoolSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic StreamPoolSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic StreamPoolSummary build()
public StreamPoolSummary.Builder copy(StreamPoolSummary model)
Copyright © 2016–2024. All rights reserved.