Interface ServiceNameAndResourceType.Builder

    • Method Detail

      • resourceType

        ServiceNameAndResourceType.Builder resourceType​(String resourceType)

        The type of the resource. This takes the form of: service-code:resource-code, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string ec2:subnet.

        Parameters:
        resourceType - The type of the resource. This takes the form of: service-code:resource-code , and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string ec2:subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        ServiceNameAndResourceType.Builder serviceName​(String serviceName)

        The name of the Amazon Web Services service to which resources of this type belong.

        Parameters:
        serviceName - The name of the Amazon Web Services service to which resources of this type belong.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceRegionScope

        ServiceNameAndResourceType.Builder resourceRegionScope​(String resourceRegionScope)

        Specifies the scope of visibility of resources of this type:

        • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.

        • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

        Parameters:
        resourceRegionScope - Specifies the scope of visibility of resources of this type:

        • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.

        • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceRegionScope, ResourceRegionScope
      • resourceRegionScope

        ServiceNameAndResourceType.Builder resourceRegionScope​(ResourceRegionScope resourceRegionScope)

        Specifies the scope of visibility of resources of this type:

        • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.

        • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

        Parameters:
        resourceRegionScope - Specifies the scope of visibility of resources of this type:

        • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.

        • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceRegionScope, ResourceRegionScope