Interface GetHostResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeStarConnectionsResponse.Builder,CopyableBuilder<GetHostResponse.Builder,GetHostResponse>,SdkBuilder<GetHostResponse.Builder,GetHostResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetHostResponse
public static interface GetHostResponse.Builder extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<GetHostResponse.Builder,GetHostResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetHostResponse.Buildername(String name)The name of the requested host.GetHostResponse.BuilderproviderEndpoint(String providerEndpoint)The endpoint of the infrastructure represented by the requested host.GetHostResponse.BuilderproviderType(String providerType)The provider type of the requested host, such as GitHub Enterprise Server.GetHostResponse.BuilderproviderType(ProviderType providerType)The provider type of the requested host, such as GitHub Enterprise Server.GetHostResponse.Builderstatus(String status)The status of the requested host.default GetHostResponse.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)The VPC configuration of the requested host.GetHostResponse.BuildervpcConfiguration(VpcConfiguration vpcConfiguration)The VPC configuration of the requested host.-
Methods inherited from interface software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
GetHostResponse.Builder name(String name)
The name of the requested host.
- Parameters:
name- The name of the requested host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetHostResponse.Builder status(String status)
The status of the requested host.
- Parameters:
status- The status of the requested host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerType
GetHostResponse.Builder providerType(String providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
- Parameters:
providerType- The provider type of the requested host, such as GitHub Enterprise Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProviderType,ProviderType
-
providerType
GetHostResponse.Builder providerType(ProviderType providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
- Parameters:
providerType- The provider type of the requested host, such as GitHub Enterprise Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProviderType,ProviderType
-
providerEndpoint
GetHostResponse.Builder providerEndpoint(String providerEndpoint)
The endpoint of the infrastructure represented by the requested host.
- Parameters:
providerEndpoint- The endpoint of the infrastructure represented by the requested host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
GetHostResponse.Builder vpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration of the requested host.
- Parameters:
vpcConfiguration- The VPC configuration of the requested host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default GetHostResponse.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)
The VPC configuration of the requested host.
This is a convenience method that creates an instance of theVpcConfiguration.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(VpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfiguration(VpcConfiguration)
-
-