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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VpcConnectionInfo.BuildercreationTime(Instant creationTime)The time when Amazon MSK creates the VPC Connnection.VpcConnectionInfo.Builderowner(String owner)The owner of the VPC Connection.default VpcConnectionInfo.BuilderuserIdentity(Consumer<UserIdentity.Builder> userIdentity)Description of the requester that calls the API operation.VpcConnectionInfo.BuilderuserIdentity(UserIdentity userIdentity)Description of the requester that calls the API operation.VpcConnectionInfo.BuildervpcConnectionArn(String vpcConnectionArn)The Amazon Resource Name (ARN) of the VPC connection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
VpcConnectionInfo.Builder owner(String 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 theUserIdentity.Builderavoiding the need to create one manually viaUserIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserIdentity(UserIdentity).- Parameters:
userIdentity- a consumer that will call methods onUserIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userIdentity(UserIdentity)
-
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.
-
-