Interface VpcConnectionInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<VpcConnectionInfo.Builder,VpcConnectionInfo>, SdkBuilder<VpcConnectionInfo.Builder,VpcConnectionInfo>, SdkPojo
Enclosing class:
VpcConnectionInfo

public static interface VpcConnectionInfo.Builder extends SdkPojo, CopyableBuilder<VpcConnectionInfo.Builder,VpcConnectionInfo>
  • Method Details

    • vpcConnectionArn

      VpcConnectionInfo.Builder vpcConnectionArn(String vpcConnectionArn)

      The Amazon Resource Name (ARN) of the VPC connection.

      Parameters:
      vpcConnectionArn -

      The Amazon Resource Name (ARN) of the VPC connection.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      The owner of the VPC Connection.

      Parameters:
      owner -

      The owner of the VPC Connection.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userIdentity

      VpcConnectionInfo.Builder userIdentity(UserIdentity userIdentity)

      Description of the requester that calls the API operation.

      Parameters:
      userIdentity -

      Description of the requester that calls the API operation.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userIdentity

      default VpcConnectionInfo.Builder userIdentity(Consumer<UserIdentity.Builder> userIdentity)

      Description of the requester that calls the API operation.

      This is a convenience method that creates an instance of the UserIdentity.Builder avoiding the need to create one manually via UserIdentity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to userIdentity(UserIdentity).

      Parameters:
      userIdentity - a consumer that will call methods on UserIdentity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      VpcConnectionInfo.Builder creationTime(Instant creationTime)

      The time when Amazon MSK creates the VPC Connnection.

      Parameters:
      creationTime -

      The time when Amazon MSK creates the VPC Connnection.

      Returns:
      Returns a reference to this object so that method calls can be chained together.