Class ProductInformation
- java.lang.Object
-
- software.amazon.awssdk.services.licensemanager.model.ProductInformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProductInformation.Builder,ProductInformation>
@Generated("software.amazon.awssdk:codegen") public final class ProductInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProductInformation.Builder,ProductInformation>
Describes product information for a license configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProductInformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProductInformation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasProductInformationFilterList()For responses, this returns true if the service returned a value for the ProductInformationFilterList property.List<ProductInformationFilter>productInformationFilterList()A Product information filter consists of aProductInformationFilterComparatorwhich is a logical operator, aProductInformationFilterNamewhich specifies the type of filter being declared, and aProductInformationFilterValuethat specifies the value to filter on.StringresourceType()Resource type.List<SdkField<?>>sdkFields()static Class<? extends ProductInformation.Builder>serializableBuilderClass()ProductInformation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceType
public final String resourceType()
Resource type. The possible values are
SSM_MANAGED|RDS.- Returns:
- Resource type. The possible values are
SSM_MANAGED|RDS.
-
hasProductInformationFilterList
public final boolean hasProductInformationFilterList()
For responses, this returns true if the service returned a value for the ProductInformationFilterList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
productInformationFilterList
public final List<ProductInformationFilter> productInformationFilterList()
A Product information filter consists of a
ProductInformationFilterComparatorwhich is a logical operator, aProductInformationFilterNamewhich specifies the type of filter being declared, and aProductInformationFilterValuethat specifies the value to filter on.Accepted values for
ProductInformationFilterNameare listed here along with descriptions and valid options forProductInformationFilterComparator.The following filters and are supported when the resource type is
SSM_MANAGED:-
Application Name- The name of the application. Logical operator isEQUALS. -
Application Publisher- The publisher of the application. Logical operator isEQUALS. -
Application Version- The version of the application. Logical operator isEQUALS. -
Platform Name- The name of the platform. Logical operator isEQUALS. -
Platform Type- The platform type. Logical operator isEQUALS. -
Tag:key- The key of a tag attached to an Amazon Web Services resource you wish to exclude from automated discovery. Logical operator isNOT_EQUALS. The key for your tag must be appended toTag:following the example:Tag:name-of-your-key.ProductInformationFilterValueis optional if you are not using values for the key. -
AccountId- The 12-digit ID of an Amazon Web Services account you wish to exclude from automated discovery. Logical operator isNOT_EQUALS. -
License Included- The type of license included. Logical operators areEQUALSandNOT_EQUALS. Possible values are:sql-server-enterprise|sql-server-standard|sql-server-web|windows-server-datacenter.
The following filters and logical operators are supported when the resource type is
RDS:-
Engine Edition- The edition of the database engine. Logical operator isEQUALS. Possible values are:oracle-ee|oracle-se|oracle-se1|oracle-se2. -
License Pack- The license pack. Logical operator isEQUALS. Possible values are:data guard|diagnostic pack sqlt|tuning pack sqlt|ols|olap.
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
hasProductInformationFilterList()method.- Returns:
- A Product information filter consists of a
ProductInformationFilterComparatorwhich is a logical operator, aProductInformationFilterNamewhich specifies the type of filter being declared, and aProductInformationFilterValuethat specifies the value to filter on.Accepted values for
ProductInformationFilterNameare listed here along with descriptions and valid options forProductInformationFilterComparator.The following filters and are supported when the resource type is
SSM_MANAGED:-
Application Name- The name of the application. Logical operator isEQUALS. -
Application Publisher- The publisher of the application. Logical operator isEQUALS. -
Application Version- The version of the application. Logical operator isEQUALS. -
Platform Name- The name of the platform. Logical operator isEQUALS. -
Platform Type- The platform type. Logical operator isEQUALS. -
Tag:key- The key of a tag attached to an Amazon Web Services resource you wish to exclude from automated discovery. Logical operator isNOT_EQUALS. The key for your tag must be appended toTag:following the example:Tag:name-of-your-key.ProductInformationFilterValueis optional if you are not using values for the key. -
AccountId- The 12-digit ID of an Amazon Web Services account you wish to exclude from automated discovery. Logical operator isNOT_EQUALS. -
License Included- The type of license included. Logical operators areEQUALSandNOT_EQUALS. Possible values are:sql-server-enterprise|sql-server-standard|sql-server-web|windows-server-datacenter.
The following filters and logical operators are supported when the resource type is
RDS:-
Engine Edition- The edition of the database engine. Logical operator isEQUALS. Possible values are:oracle-ee|oracle-se|oracle-se1|oracle-se2. -
License Pack- The license pack. Logical operator isEQUALS. Possible values are:data guard|diagnostic pack sqlt|tuning pack sqlt|ols|olap.
-
-
-
toBuilder
public ProductInformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProductInformation.Builder,ProductInformation>
-
builder
public static ProductInformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProductInformation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-