Class CreateEndpointGatewayOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateEndpointGatewayOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(EndpointGatewayTargetPrototype target, VPCIdentity vpc) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionAdds a new element to ips.addSecurityGroups(SecurityGroupIdentity securityGroups) Adds a new element to securityGroups.allowDnsResolutionBinding(Boolean allowDnsResolutionBinding) Set the allowDnsResolutionBinding.build()Builds a CreateEndpointGatewayOptions.ips(List<EndpointGatewayReservedIP> ips) Set the ips.Set the name.resourceGroup(ResourceGroupIdentity resourceGroup) Set the resourceGroup.securityGroups(List<SecurityGroupIdentity> securityGroups) Set the securityGroups.target(EndpointGatewayTargetPrototype target) Set the target.vpc(VPCIdentity vpc) Set the vpc.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
target- the targetvpc- the vpc
-
-
Method Details
-
build
Builds a CreateEndpointGatewayOptions.- Returns:
- the new CreateEndpointGatewayOptions instance
-
addIps
Adds a new element to ips.- Parameters:
ips- the new element to be added- Returns:
- the CreateEndpointGatewayOptions builder
-
addSecurityGroups
Adds a new element to securityGroups.- Parameters:
securityGroups- the new element to be added- Returns:
- the CreateEndpointGatewayOptions builder
-
target
Set the target.- Parameters:
target- the target- Returns:
- the CreateEndpointGatewayOptions builder
-
vpc
Set the vpc.- Parameters:
vpc- the vpc- Returns:
- the CreateEndpointGatewayOptions builder
-
allowDnsResolutionBinding
public CreateEndpointGatewayOptions.Builder allowDnsResolutionBinding(Boolean allowDnsResolutionBinding) Set the allowDnsResolutionBinding.- Parameters:
allowDnsResolutionBinding- the allowDnsResolutionBinding- Returns:
- the CreateEndpointGatewayOptions builder
-
ips
Set the ips. Existing ips will be replaced.- Parameters:
ips- the ips- Returns:
- the CreateEndpointGatewayOptions builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the CreateEndpointGatewayOptions builder
-
resourceGroup
Set the resourceGroup.- Parameters:
resourceGroup- the resourceGroup- Returns:
- the CreateEndpointGatewayOptions builder
-
securityGroups
public CreateEndpointGatewayOptions.Builder securityGroups(List<SecurityGroupIdentity> securityGroups) Set the securityGroups. Existing securityGroups will be replaced.- Parameters:
securityGroups- the securityGroups- Returns:
- the CreateEndpointGatewayOptions builder
-