Class EndpointPolicyArgs.Builder

  • Enclosing class:
    EndpointPolicyArgs

    public static final class EndpointPolicyArgs.Builder
    extends java.lang.Object
    • Method Detail

      • authorizationPolicy

        public EndpointPolicyArgs.Builder authorizationPolicy​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> authorizationPolicy)
        Parameters:
        authorizationPolicy - This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints.
        Returns:
        builder
      • authorizationPolicy

        public EndpointPolicyArgs.Builder authorizationPolicy​(java.lang.String authorizationPolicy)
        Parameters:
        authorizationPolicy - This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints.
        Returns:
        builder
      • clientTlsPolicy

        public EndpointPolicyArgs.Builder clientTlsPolicy​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> clientTlsPolicy)
        Parameters:
        clientTlsPolicy - A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints.
        Returns:
        builder
      • clientTlsPolicy

        public EndpointPolicyArgs.Builder clientTlsPolicy​(java.lang.String clientTlsPolicy)
        Parameters:
        clientTlsPolicy - A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints.
        Returns:
        builder
      • description

        public EndpointPolicyArgs.Builder description​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A free-text description of the resource. Max length 1024 characters.
        Returns:
        builder
      • description

        public EndpointPolicyArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A free-text description of the resource. Max length 1024 characters.
        Returns:
        builder
      • endpointMatcher

        public EndpointPolicyArgs.Builder endpointMatcher​(com.pulumi.core.Output<EndpointPolicyEndpointMatcherArgs> endpointMatcher)
        Parameters:
        endpointMatcher - Required. A matcher that selects endpoints to which the policies should be applied. Structure is documented below.
        Returns:
        builder
      • labels

        public EndpointPolicyArgs.Builder labels​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Set of label tags associated with the TcpRoute resource.
        Returns:
        builder
      • labels

        public EndpointPolicyArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Set of label tags associated with the TcpRoute resource.
        Returns:
        builder
      • name

        public EndpointPolicyArgs.Builder name​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the EndpointPolicy resource.
        Returns:
        builder
      • name

        public EndpointPolicyArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the EndpointPolicy resource.
        Returns:
        builder
      • project

        public EndpointPolicyArgs.Builder project​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public EndpointPolicyArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • serverTlsPolicy

        public EndpointPolicyArgs.Builder serverTlsPolicy​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> serverTlsPolicy)
        Parameters:
        serverTlsPolicy - A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends.
        Returns:
        builder
      • serverTlsPolicy

        public EndpointPolicyArgs.Builder serverTlsPolicy​(java.lang.String serverTlsPolicy)
        Parameters:
        serverTlsPolicy - A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends.
        Returns:
        builder
      • trafficPortSelector

        public EndpointPolicyArgs.Builder trafficPortSelector​(@Nullable
                                                              com.pulumi.core.Output<EndpointPolicyTrafficPortSelectorArgs> trafficPortSelector)
        Parameters:
        trafficPortSelector - Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports. Structure is documented below.
        Returns:
        builder
      • trafficPortSelector

        public EndpointPolicyArgs.Builder trafficPortSelector​(EndpointPolicyTrafficPortSelectorArgs trafficPortSelector)
        Parameters:
        trafficPortSelector - Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports. Structure is documented below.
        Returns:
        builder
      • type

        public EndpointPolicyArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of endpoint policy. This is primarily used to validate the configuration. Possible values are: `SIDECAR_PROXY`, `GRPC_SERVER`.
        Returns:
        builder
      • type

        public EndpointPolicyArgs.Builder type​(java.lang.String type)
        Parameters:
        type - The type of endpoint policy. This is primarily used to validate the configuration. Possible values are: `SIDECAR_PROXY`, `GRPC_SERVER`.
        Returns:
        builder