Interface ServiceNameAndResourceType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>,SdkBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>,SdkPojo
- Enclosing class:
- ServiceNameAndResourceType
public static interface ServiceNameAndResourceType.Builder extends SdkPojo, CopyableBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceNameAndResourceType.BuilderresourceRegionScope(String resourceRegionScope)Specifies the scope of visibility of resources of this type:ServiceNameAndResourceType.BuilderresourceRegionScope(ResourceRegionScope resourceRegionScope)Specifies the scope of visibility of resources of this type:ServiceNameAndResourceType.BuilderresourceType(String resourceType)The type of the resource.ServiceNameAndResourceType.BuilderserviceName(String serviceName)The name of the Amazon Web Services service to which resources of this type belong.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 stringec2: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 stringec2: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
-
-
-