public static class StreamPool.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StreamPool |
build() |
StreamPool.Builder |
compartmentId(String compartmentId)
Compartment OCID that the pool belongs to.
|
StreamPool.Builder |
copy(StreamPool model) |
StreamPool.Builder |
customEncryptionKey(CustomEncryptionKey customEncryptionKey) |
StreamPool.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
StreamPool.Builder |
endpointFqdn(String endpointFqdn)
The FQDN used to access the streams inside the stream pool (same FQDN as the
messagesEndpoint attribute of a
Stream object). |
StreamPool.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
StreamPool.Builder |
id(String id)
The OCID of the stream pool.
|
StreamPool.Builder |
isPrivate(Boolean isPrivate)
True if the stream pool is private, false otherwise.
|
StreamPool.Builder |
kafkaSettings(KafkaSettings kafkaSettings) |
StreamPool.Builder |
lifecycleState(StreamPool.LifecycleState lifecycleState)
The current state of the stream pool.
|
StreamPool.Builder |
lifecycleStateDetails(String lifecycleStateDetails)
Any additional details about the current state of the stream.
|
StreamPool.Builder |
name(String name)
The name of the stream pool.
|
StreamPool.Builder |
privateEndpointSettings(PrivateEndpointSettings privateEndpointSettings) |
StreamPool.Builder |
timeCreated(Date timeCreated)
The date and time the stream pool was created, expressed in in RFC
3339 timestamp format.
|
public StreamPool.Builder id(String id)
The OCID of the stream pool.
id
- the value to setpublic StreamPool.Builder compartmentId(String compartmentId)
Compartment OCID that the pool belongs to.
compartmentId
- the value to setpublic StreamPool.Builder name(String name)
The name of the stream pool.
name
- the value to setpublic StreamPool.Builder lifecycleState(StreamPool.LifecycleState lifecycleState)
The current state of the stream pool.
lifecycleState
- the value to setpublic StreamPool.Builder lifecycleStateDetails(String lifecycleStateDetails)
Any additional details about the current state of the stream.
lifecycleStateDetails
- the value to setpublic 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
timeCreated
- the value to setpublic StreamPool.Builder kafkaSettings(KafkaSettings kafkaSettings)
public StreamPool.Builder customEncryptionKey(CustomEncryptionKey customEncryptionKey)
public 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.
isPrivate
- the value to setpublic StreamPool.Builder endpointFqdn(String endpointFqdn)
The FQDN used to access the streams inside the stream pool (same FQDN as the
messagesEndpoint attribute of a Stream
object). 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.
endpointFqdn
- the value to setpublic StreamPool.Builder privateEndpointSettings(PrivateEndpointSettings privateEndpointSettings)
public 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"}
freeformTags
- the value to setpublic 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"}}'
definedTags
- the value to setpublic StreamPool build()
public StreamPool.Builder copy(StreamPool model)
Copyright © 2016–2024. All rights reserved.