Class StreamPool.Builder
- java.lang.Object
- 
- com.oracle.bmc.streaming.model.StreamPool.Builder
 
- 
- Enclosing class:
- StreamPool
 
 public static class StreamPool.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamPoolbuild()StreamPool.BuildercompartmentId(String compartmentId)Compartment OCID that the pool belongs to.StreamPool.Buildercopy(StreamPool model)StreamPool.BuildercustomEncryptionKey(CustomEncryptionKey customEncryptionKey)StreamPool.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.StreamPool.BuilderendpointFqdn(String endpointFqdn)The FQDN used to access the streams inside the stream pool (same FQDN as the messagesEndpoint attribute of aStreamobject).StreamPool.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.StreamPool.Builderid(String id)The OCID of the stream pool.StreamPool.BuilderisPrivate(Boolean isPrivate)True if the stream pool is private, false otherwise.StreamPool.BuilderkafkaSettings(KafkaSettings kafkaSettings)StreamPool.BuilderlifecycleState(StreamPool.LifecycleState lifecycleState)The current state of the stream pool.StreamPool.BuilderlifecycleStateDetails(String lifecycleStateDetails)Any additional details about the current state of the stream.StreamPool.Buildername(String name)The name of the stream pool.StreamPool.BuilderprivateEndpointSettings(PrivateEndpointSettings privateEndpointSettings)StreamPool.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes for this resource.StreamPool.BuildertimeCreated(Date timeCreated)The date and time the stream pool was created, expressed in in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic StreamPool.Builder id(String id) The OCID of the stream pool.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic StreamPool.Builder compartmentId(String compartmentId) Compartment OCID that the pool belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
namepublic StreamPool.Builder name(String name) The name of the stream pool.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic StreamPool.Builder lifecycleState(StreamPool.LifecycleState lifecycleState) The current state of the stream pool.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleStateDetailspublic StreamPool.Builder lifecycleStateDetails(String lifecycleStateDetails) Any additional details about the current state of the stream.- Parameters:
- lifecycleStateDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic StreamPool.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
 
 - 
kafkaSettingspublic StreamPool.Builder kafkaSettings(KafkaSettings kafkaSettings) 
 - 
customEncryptionKeypublic StreamPool.Builder customEncryptionKey(CustomEncryptionKey customEncryptionKey) 
 - 
isPrivatepublic StreamPool.Builder isPrivate(Boolean isPrivate) True if the stream pool is private, false otherwise.If the stream pool is private, the streams inside the stream pool can only be accessed from inside the associated subnetId. - Parameters:
- isPrivate- the value to set
- Returns:
- this builder
 
 - 
endpointFqdnpublic StreamPool.Builder endpointFqdn(String endpointFqdn) The FQDN used to access the streams inside the stream pool (same FQDN as the messagesEndpoint attribute of aStreamobject).If the stream pool is private, the FQDN is customized and can only be accessed from inside the associated subnetId, otherwise the FQDN is publicly resolvable. Depending on which protocol you attempt to use, you need to either prepend https or append the Kafka port. - Parameters:
- endpointFqdn- the value to set
- Returns:
- this builder
 
 - 
privateEndpointSettingspublic StreamPool.Builder privateEndpointSettings(PrivateEndpointSettings privateEndpointSettings) 
 - 
freeformTagspublic StreamPool.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair 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
 
 - 
securityAttributespublic StreamPool.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
 
 - 
definedTagspublic StreamPool.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
 
 - 
buildpublic StreamPool build() 
 - 
copypublic StreamPool.Builder copy(StreamPool model) 
 
- 
 
-