@Generated(value="software.amazon.awssdk:codegen") public final class SelfManagedKafkaAccessConfigurationVpc extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SelfManagedKafkaAccessConfigurationVpc.Builder,SelfManagedKafkaAccessConfigurationVpc>
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SelfManagedKafkaAccessConfigurationVpc.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SelfManagedKafkaAccessConfigurationVpc.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroup()
For responses, this returns true if the service returned a value for the SecurityGroup property.
|
boolean |
hasSubnets()
For responses, this returns true if the service returned a value for the Subnets property.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroup()
Specifies the security groups associated with the stream.
|
static Class<? extends SelfManagedKafkaAccessConfigurationVpc.Builder> |
serializableBuilderClass() |
List<String> |
subnets()
Specifies the subnets associated with the stream.
|
SelfManagedKafkaAccessConfigurationVpc.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasSecurityGroup()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> securityGroup()
Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroup() method.
public final boolean hasSubnets()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> subnets()
Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnets() method.
public SelfManagedKafkaAccessConfigurationVpc.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SelfManagedKafkaAccessConfigurationVpc.Builder,SelfManagedKafkaAccessConfigurationVpc>public static SelfManagedKafkaAccessConfigurationVpc.Builder builder()
public static Class<? extends SelfManagedKafkaAccessConfigurationVpc.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.