@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Product extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a product.
Constructor and Description |
---|
Product() |
Modifier and Type | Method and Description |
---|---|
Product |
clone() |
boolean |
equals(Object obj) |
String |
getActivationUrl()
The URL used to activate the product.
|
List<String> |
getCategories()
The categories assigned to the product.
|
String |
getCompanyName()
The name of the company that provides the product.
|
String |
getDescription()
A description of the product.
|
List<String> |
getIntegrationTypes()
The types of integration that the product supports.
|
String |
getMarketplaceUrl()
The URL for the page that contains more information about the product.
|
String |
getProductArn()
The ARN assigned to the product.
|
String |
getProductName()
The name of the product.
|
String |
getProductSubscriptionResourcePolicy()
The resource policy associated with the product.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivationUrl(String activationUrl)
The URL used to activate the product.
|
void |
setCategories(Collection<String> categories)
The categories assigned to the product.
|
void |
setCompanyName(String companyName)
The name of the company that provides the product.
|
void |
setDescription(String description)
A description of the product.
|
void |
setIntegrationTypes(Collection<String> integrationTypes)
The types of integration that the product supports.
|
void |
setMarketplaceUrl(String marketplaceUrl)
The URL for the page that contains more information about the product.
|
void |
setProductArn(String productArn)
The ARN assigned to the product.
|
void |
setProductName(String productName)
The name of the product.
|
void |
setProductSubscriptionResourcePolicy(String productSubscriptionResourcePolicy)
The resource policy associated with the product.
|
String |
toString()
Returns a string representation of this object.
|
Product |
withActivationUrl(String activationUrl)
The URL used to activate the product.
|
Product |
withCategories(Collection<String> categories)
The categories assigned to the product.
|
Product |
withCategories(String... categories)
The categories assigned to the product.
|
Product |
withCompanyName(String companyName)
The name of the company that provides the product.
|
Product |
withDescription(String description)
A description of the product.
|
Product |
withIntegrationTypes(Collection<String> integrationTypes)
The types of integration that the product supports.
|
Product |
withIntegrationTypes(IntegrationType... integrationTypes)
The types of integration that the product supports.
|
Product |
withIntegrationTypes(String... integrationTypes)
The types of integration that the product supports.
|
Product |
withMarketplaceUrl(String marketplaceUrl)
The URL for the page that contains more information about the product.
|
Product |
withProductArn(String productArn)
The ARN assigned to the product.
|
Product |
withProductName(String productName)
The name of the product.
|
Product |
withProductSubscriptionResourcePolicy(String productSubscriptionResourcePolicy)
The resource policy associated with the product.
|
public void setProductArn(String productArn)
The ARN assigned to the product.
productArn
- The ARN assigned to the product.public String getProductArn()
The ARN assigned to the product.
public Product withProductArn(String productArn)
The ARN assigned to the product.
productArn
- The ARN assigned to the product.public void setProductName(String productName)
The name of the product.
productName
- The name of the product.public String getProductName()
The name of the product.
public Product withProductName(String productName)
The name of the product.
productName
- The name of the product.public void setCompanyName(String companyName)
The name of the company that provides the product.
companyName
- The name of the company that provides the product.public String getCompanyName()
The name of the company that provides the product.
public Product withCompanyName(String companyName)
The name of the company that provides the product.
companyName
- The name of the company that provides the product.public void setDescription(String description)
A description of the product.
description
- A description of the product.public String getDescription()
A description of the product.
public Product withDescription(String description)
A description of the product.
description
- A description of the product.public List<String> getCategories()
The categories assigned to the product.
public void setCategories(Collection<String> categories)
The categories assigned to the product.
categories
- The categories assigned to the product.public Product withCategories(String... categories)
The categories assigned to the product.
NOTE: This method appends the values to the existing list (if any). Use
setCategories(java.util.Collection)
or withCategories(java.util.Collection)
if you want to
override the existing values.
categories
- The categories assigned to the product.public Product withCategories(Collection<String> categories)
The categories assigned to the product.
categories
- The categories assigned to the product.public List<String> getIntegrationTypes()
The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from Security
Hub.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security
Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from
Security Hub.
IntegrationType
public void setIntegrationTypes(Collection<String> integrationTypes)
The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from Security
Hub.
integrationTypes
- The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security
Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from
Security Hub.
IntegrationType
public Product withIntegrationTypes(String... integrationTypes)
The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from Security
Hub.
NOTE: This method appends the values to the existing list (if any). Use
setIntegrationTypes(java.util.Collection)
or withIntegrationTypes(java.util.Collection)
if you
want to override the existing values.
integrationTypes
- The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security
Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from
Security Hub.
IntegrationType
public Product withIntegrationTypes(Collection<String> integrationTypes)
The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from Security
Hub.
integrationTypes
- The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security
Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from
Security Hub.
IntegrationType
public Product withIntegrationTypes(IntegrationType... integrationTypes)
The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from Security
Hub.
integrationTypes
- The types of integration that the product supports. Available values are the following.
SEND_FINDINGS_TO_SECURITY_HUB
- Indicates that the integration sends findings to Security
Hub.
RECEIVE_FINDINGS_FROM_SECURITY_HUB
- Indicates that the integration receives findings from
Security Hub.
IntegrationType
public void setMarketplaceUrl(String marketplaceUrl)
The URL for the page that contains more information about the product.
marketplaceUrl
- The URL for the page that contains more information about the product.public String getMarketplaceUrl()
The URL for the page that contains more information about the product.
public Product withMarketplaceUrl(String marketplaceUrl)
The URL for the page that contains more information about the product.
marketplaceUrl
- The URL for the page that contains more information about the product.public void setActivationUrl(String activationUrl)
The URL used to activate the product.
activationUrl
- The URL used to activate the product.public String getActivationUrl()
The URL used to activate the product.
public Product withActivationUrl(String activationUrl)
The URL used to activate the product.
activationUrl
- The URL used to activate the product.public void setProductSubscriptionResourcePolicy(String productSubscriptionResourcePolicy)
The resource policy associated with the product.
productSubscriptionResourcePolicy
- The resource policy associated with the product.public String getProductSubscriptionResourcePolicy()
The resource policy associated with the product.
public Product withProductSubscriptionResourcePolicy(String productSubscriptionResourcePolicy)
The resource policy associated with the product.
productSubscriptionResourcePolicy
- The resource policy associated with the product.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.