Package com.oracle.bmc.streaming.model
Class StreamPoolSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.StreamPoolSummary.Builder
-
- Enclosing class:
- StreamPoolSummary
public static class StreamPoolSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamPoolSummarybuild()StreamPoolSummary.BuildercompartmentId(String compartmentId)Compartment OCID that the pool belongs to.StreamPoolSummary.Buildercopy(StreamPoolSummary model)StreamPoolSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.StreamPoolSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.StreamPoolSummary.Builderid(String id)The OCID of the stream pool.StreamPoolSummary.BuilderisPrivate(Boolean isPrivate)True if the stream pool is private, false otherwise.StreamPoolSummary.BuilderlifecycleState(StreamPoolSummary.LifecycleState lifecycleState)The current state of the stream pool.StreamPoolSummary.Buildername(String name)The name of the stream pool.StreamPoolSummary.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes for this resource.StreamPoolSummary.BuildertimeCreated(Date timeCreated)The date and time the stream pool was created, expressed in in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public StreamPoolSummary.Builder id(String id)
The OCID of the stream pool.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public StreamPoolSummary.Builder compartmentId(String compartmentId)
Compartment OCID that the pool belongs to.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public StreamPoolSummary.Builder name(String name)
The name of the stream pool.- Parameters:
name- the value to set- Returns:
- this builder
-
lifecycleState
public StreamPoolSummary.Builder lifecycleState(StreamPoolSummary.LifecycleState lifecycleState)
The current state of the stream pool.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
isPrivate
public 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
getStreamPoolAPI.- Parameters:
isPrivate- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
securityAttributes
public StreamPoolSummary.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}
- Parameters:
securityAttributes- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public StreamPoolSummary build()
-
copy
public StreamPoolSummary.Builder copy(StreamPoolSummary model)
-
-