Class IngressBackendArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.networking.v1.inputs.IngressBackendArgs.Builder
-
- Enclosing class:
- IngressBackendArgs
public static final class IngressBackendArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(IngressBackendArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressBackendArgs
build()
IngressBackendArgs.Builder
resource(com.pulumi.core.Output<TypedLocalObjectReferenceArgs> resource)
IngressBackendArgs.Builder
resource(TypedLocalObjectReferenceArgs resource)
IngressBackendArgs.Builder
service(com.pulumi.core.Output<IngressServiceBackendArgs> service)
IngressBackendArgs.Builder
service(IngressServiceBackendArgs service)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(IngressBackendArgs defaults)
-
-
Method Detail
-
resource
public IngressBackendArgs.Builder resource(@Nullable com.pulumi.core.Output<TypedLocalObjectReferenceArgs> resource)
- Parameters:
resource
- Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".- Returns:
- builder
-
resource
public IngressBackendArgs.Builder resource(TypedLocalObjectReferenceArgs resource)
- Parameters:
resource
- Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".- Returns:
- builder
-
service
public IngressBackendArgs.Builder service(@Nullable com.pulumi.core.Output<IngressServiceBackendArgs> service)
- Parameters:
service
- Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".- Returns:
- builder
-
service
public IngressBackendArgs.Builder service(IngressServiceBackendArgs service)
- Parameters:
service
- Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".- Returns:
- builder
-
build
public IngressBackendArgs build()
-
-