Class VpcConnection
- java.lang.Object
-
- software.amazon.awssdk.services.kafka.model.VpcConnection
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VpcConnection.Builder,VpcConnection>
@Generated("software.amazon.awssdk:codegen") public final class VpcConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcConnection.Builder,VpcConnection>
The VPC connection object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VpcConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
authentication()
Information about the auth scheme of Vpc Connection.static VpcConnection.Builder
builder()
Instant
creationTime()
Creation time of the Vpc Connection.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends VpcConnection.Builder>
serializableBuilderClass()
VpcConnectionState
state()
State of the Vpc Connection.String
stateAsString()
State of the Vpc Connection.String
targetClusterArn()
The ARN that identifies the Cluster which the Vpc Connection belongs to.VpcConnection.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
vpcConnectionArn()
The ARN that identifies the Vpc Connection.String
vpcId()
The vpcId that belongs to the Vpc Connection.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
vpcConnectionArn
public final String vpcConnectionArn()
The ARN that identifies the Vpc Connection.
- Returns:
The ARN that identifies the Vpc Connection.
-
targetClusterArn
public final String targetClusterArn()
The ARN that identifies the Cluster which the Vpc Connection belongs to.
- Returns:
The ARN that identifies the Cluster which the Vpc Connection belongs to.
-
creationTime
public final Instant creationTime()
Creation time of the Vpc Connection.
- Returns:
Creation time of the Vpc Connection.
-
authentication
public final String authentication()
Information about the auth scheme of Vpc Connection.
- Returns:
Information about the auth scheme of Vpc Connection.
-
vpcId
public final String vpcId()
The vpcId that belongs to the Vpc Connection.
- Returns:
The vpcId that belongs to the Vpc Connection.
-
state
public final VpcConnectionState state()
State of the Vpc Connection.
If the service returns an enum value that is not available in the current SDK version,
state
will returnVpcConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
State of the Vpc Connection.
- See Also:
VpcConnectionState
-
stateAsString
public final String stateAsString()
State of the Vpc Connection.
If the service returns an enum value that is not available in the current SDK version,
state
will returnVpcConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
State of the Vpc Connection.
- See Also:
VpcConnectionState
-
toBuilder
public VpcConnection.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<VpcConnection.Builder,VpcConnection>
-
builder
public static VpcConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends VpcConnection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-