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
Modifier and TypeMethodDescriptionThe name of the requested host.providerEndpoint
(String providerEndpoint) The endpoint of the infrastructure represented by the requested host.providerType
(String providerType) The provider type of the requested host, such as GitHub Enterprise Server.providerType
(ProviderType providerType) The provider type of the requested host, such as GitHub Enterprise Server.The status of the requested host.default GetHostResponse.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) The VPC configuration of the requested host.vpcConfiguration
(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 Details
-
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
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
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
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:
-
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
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.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,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:
-