Interface ServiceNameAndResourceType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>, SdkBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>, SdkPojo
Enclosing class:
ServiceNameAndResourceType

@Mutable @NotThreadSafe public static interface ServiceNameAndResourceType.Builder extends SdkPojo, CopyableBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>
  • Method Details

    • 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

      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: