@Generated(value="software.amazon.awssdk:codegen") public final class Product extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Product.Builder,Product>
Contains details about a product.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Product.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
activationUrl()
The URL to the service or product documentation about the integration with Security Hub, including how to
activate the integration.
|
static Product.Builder |
builder() |
List<String> |
categories()
The categories assigned to the product.
|
String |
companyName()
The name of the company that provides the product.
|
String |
description()
A description of the product.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCategories()
For responses, this returns true if the service returned a value for the Categories property.
|
int |
hashCode() |
boolean |
hasIntegrationTypes()
For responses, this returns true if the service returned a value for the IntegrationTypes property.
|
List<IntegrationType> |
integrationTypes()
The types of integration that the product supports.
|
List<String> |
integrationTypesAsStrings()
The types of integration that the product supports.
|
String |
marketplaceUrl()
For integrations with Amazon Web Services services, the Amazon Web Services Console URL from which to activate
the service.
|
String |
productArn()
The ARN assigned to the product.
|
String |
productName()
The name of the product.
|
String |
productSubscriptionResourcePolicy()
The resource policy associated with the product.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Product.Builder> |
serializableBuilderClass() |
Product.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String productArn()
The ARN assigned to the product.
public final String productName()
The name of the product.
public final String companyName()
The name of the company that provides the product.
public final String description()
A description of the product.
public final boolean hasCategories()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> categories()
The categories assigned to the product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCategories() method.
public final List<IntegrationType> integrationTypes()
The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB - The integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB - The integration receives findings from Security Hub.
UPDATE_FINDINGS_IN_SECURITY_HUB - The integration does not send new findings to Security Hub, but
does make updates to the findings that it receives from Security Hub.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIntegrationTypes() method.
SEND_FINDINGS_TO_SECURITY_HUB - The integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB - The integration receives findings from Security Hub.
UPDATE_FINDINGS_IN_SECURITY_HUB - The integration does not send new findings to Security
Hub, but does make updates to the findings that it receives from Security Hub.
public final boolean hasIntegrationTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> integrationTypesAsStrings()
The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB - The integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB - The integration receives findings from Security Hub.
UPDATE_FINDINGS_IN_SECURITY_HUB - The integration does not send new findings to Security Hub, but
does make updates to the findings that it receives from Security Hub.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIntegrationTypes() method.
SEND_FINDINGS_TO_SECURITY_HUB - The integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB - The integration receives findings from Security Hub.
UPDATE_FINDINGS_IN_SECURITY_HUB - The integration does not send new findings to Security
Hub, but does make updates to the findings that it receives from Security Hub.
public final String marketplaceUrl()
For integrations with Amazon Web Services services, the Amazon Web Services Console URL from which to activate the service.
For integrations with third-party products, the Amazon Web Services Marketplace URL from which to subscribe to or purchase the product.
For integrations with third-party products, the Amazon Web Services Marketplace URL from which to subscribe to or purchase the product.
public final String activationUrl()
The URL to the service or product documentation about the integration with Security Hub, including how to activate the integration.
public final String productSubscriptionResourcePolicy()
The resource policy associated with the product.
public Product.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Product.Builder,Product>public static Product.Builder builder()
public static Class<? extends Product.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.