Interface SoftwareResourceResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SoftwareResourceResult.Builder,,SoftwareResourceResult> SdkBuilder<SoftwareResourceResult.Builder,,SoftwareResourceResult> SdkPojo
- Enclosing class:
SoftwareResourceResult
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account that recorded the resource data in Security Hub.The Amazon Web Services Region that recorded the resource data in Security Hub.resourceCloudPartition(String resourceCloudPartition) The cloud partition where the resource exists.resourceId(String resourceId) The unique identifier for a resource.resourceOwnerAccountId(String resourceOwnerAccountId) The identifier of the cloud account that owns the resource.resourceOwnerOrgId(String resourceOwnerOrgId) The identifier of the cloud organization that owns the resource.resourceProvider(String resourceProvider) The cloud provider where the resource exists.resourceRegion(String resourceRegion) The native cloud region where the resource is located.resourceType(String resourceType) The type of resource, for exampleAWS::EC2::InstanceorAWS::Lambda::Function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account that recorded the resource data in Security Hub.
- Parameters:
accountId- The Amazon Web Services account that recorded the resource data in Security Hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource, for example
AWS::EC2::InstanceorAWS::Lambda::Function.- Parameters:
resourceType- The type of resource, for exampleAWS::EC2::InstanceorAWS::Lambda::Function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services Region that recorded the resource data in Security Hub.
- Parameters:
region- The Amazon Web Services Region that recorded the resource data in Security Hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The unique identifier for a resource.
- Parameters:
resourceId- The unique identifier for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceProvider
The cloud provider where the resource exists. Valid values are
AWSandAzure.- Parameters:
resourceProvider- The cloud provider where the resource exists. Valid values areAWSandAzure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceOwnerOrgId
The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.
- Parameters:
resourceOwnerOrgId- The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceOwnerAccountId
The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.
- Parameters:
resourceOwnerAccountId- The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCloudPartition
The cloud partition where the resource exists. For Amazon Web Services, valid values include
aws,aws-cn, andaws-us-gov. This field isn't returned for cloud providers that don't use partitions.- Parameters:
resourceCloudPartition- The cloud partition where the resource exists. For Amazon Web Services, valid values includeaws,aws-cn, andaws-us-gov. This field isn't returned for cloud providers that don't use partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRegion
The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example,
us-east-1). For Azure resources, this is the Azure region (for example,westus2).- Parameters:
resourceRegion- The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example,us-east-1). For Azure resources, this is the Azure region (for example,westus2).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-