Class CreateVpcEndpointRequest

    • Constructor Detail

      • CreateVpcEndpointRequest

        public CreateVpcEndpointRequest()
    • Method Detail

      • setVpcId

        public void setVpcId​(String vpcId)

        The ID of the VPC in which the endpoint will be used.

        Parameters:
        vpcId - The ID of the VPC in which the endpoint will be used.
      • getVpcId

        public String getVpcId()

        The ID of the VPC in which the endpoint will be used.

        Returns:
        The ID of the VPC in which the endpoint will be used.
      • withVpcId

        public CreateVpcEndpointRequest withVpcId​(String vpcId)

        The ID of the VPC in which the endpoint will be used.

        Parameters:
        vpcId - The ID of the VPC in which the endpoint will be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServiceName

        public void setServiceName​(String serviceName)

        The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.

        Parameters:
        serviceName - The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.
      • getServiceName

        public String getServiceName()

        The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.

        Returns:
        The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.
      • withServiceName

        public CreateVpcEndpointRequest withServiceName​(String serviceName)

        The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.

        Parameters:
        serviceName - The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPolicyDocument

        public void setPolicyDocument​(String policyDocument)

        A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

        Parameters:
        policyDocument - A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
      • getPolicyDocument

        public String getPolicyDocument()

        A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

        Returns:
        A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
      • withPolicyDocument

        public CreateVpcEndpointRequest withPolicyDocument​(String policyDocument)

        A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

        Parameters:
        policyDocument - A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRouteTableIds

        public List<String> getRouteTableIds()

        One or more route table IDs.

        Returns:
        One or more route table IDs.
      • setRouteTableIds

        public void setRouteTableIds​(Collection<String> routeTableIds)

        One or more route table IDs.

        Parameters:
        routeTableIds - One or more route table IDs.
      • withRouteTableIds

        public CreateVpcEndpointRequest withRouteTableIds​(Collection<String> routeTableIds)

        One or more route table IDs.

        Parameters:
        routeTableIds - One or more route table IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientToken

        public void setClientToken​(String clientToken)

        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
      • getClientToken

        public String getClientToken()

        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Returns:
        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
      • withClientToken

        public CreateVpcEndpointRequest withClientToken​(String clientToken)

        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object