public static final class PubSubSecurityConf.Builder extends Object implements PubSubConf.Builder<PubSubSecurityConf.Builder>
PubSubSecurityConf.| Modifier and Type | Field and Description |
|---|---|
protected MessageSecurityMode |
messageSecurityMode |
protected String |
securityGroupId |
protected List<EndpointDescription> |
securityKeyServices |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PubSubSecurityConf.Builder |
addSecurityKeyServices(EndpointDescription securityKeyServices)
Adds the value as an element for
PubSubSecurityConf.getSecurityKeyServices(). |
PubSubSecurityConf |
build()
Returns an instance of
PubSubSecurityConf with the values given to this builder. |
MessageSecurityMode |
getMessageSecurityMode() |
String |
getSecurityGroupId() |
List<EndpointDescription> |
getSecurityKeyServices() |
PubSubSecurityConf.Builder |
setMessageSecurityMode(MessageSecurityMode messageSecurityMode)
Set the value for
PubSubSecurityConf.getMessageSecurityMode(). |
PubSubSecurityConf.Builder |
setSecurityGroupId(String securityGroupId)
Set the value for
PubSubSecurityConf.getSecurityGroupId(). |
PubSubConfSpecification |
specification()
Returns the specification of this object.
|
protected MessageSecurityMode messageSecurityMode
protected String securityGroupId
protected List<EndpointDescription> securityKeyServices
public PubSubConfSpecification specification()
PubSubConf.Builderspecification in interface PubSubConf.Builder<PubSubSecurityConf.Builder>public MessageSecurityMode getMessageSecurityMode()
public String getSecurityGroupId()
public List<EndpointDescription> getSecurityKeyServices()
public PubSubSecurityConf.Builder setMessageSecurityMode(MessageSecurityMode messageSecurityMode)
PubSubSecurityConf.getMessageSecurityMode(). Returns itself for method chaining.public PubSubSecurityConf.Builder setSecurityGroupId(String securityGroupId)
PubSubSecurityConf.getSecurityGroupId(). Returns itself for method chaining.public PubSubSecurityConf.Builder addSecurityKeyServices(EndpointDescription securityKeyServices)
PubSubSecurityConf.getSecurityKeyServices(). Returns itself for method chaining.public PubSubSecurityConf build()
PubSubSecurityConf with the values given to this builder.build in interface PubSubConf.Builder<PubSubSecurityConf.Builder>Copyright © 2026. All rights reserved.