Class GetServiceSettingsResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.LicenseManagerLinuxSubscriptionsResponse
-
- software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.GetServiceSettingsResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetServiceSettingsResponse.Builder,GetServiceSettingsResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetServiceSettingsResponse extends LicenseManagerLinuxSubscriptionsResponse implements ToCopyableBuilder<GetServiceSettingsResponse.Builder,GetServiceSettingsResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetServiceSettingsResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetServiceSettingsResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasHomeRegions()For responses, this returns true if the service returned a value for the HomeRegions property.booleanhasStatusMessage()For responses, this returns true if the service returned a value for the StatusMessage property.List<String>homeRegions()The Region in which License Manager displays the aggregated data for Linux subscriptions.LinuxSubscriptionsDiscoverylinuxSubscriptionsDiscovery()Lists if discovery has been enabled for Linux subscriptions.StringlinuxSubscriptionsDiscoveryAsString()Lists if discovery has been enabled for Linux subscriptions.LinuxSubscriptionsDiscoverySettingslinuxSubscriptionsDiscoverySettings()Lists the settings defined for Linux subscriptions discovery.List<SdkField<?>>sdkFields()static Class<? extends GetServiceSettingsResponse.Builder>serializableBuilderClass()Statusstatus()Indicates the status of Linux subscriptions settings being applied.StringstatusAsString()Indicates the status of Linux subscriptions settings being applied.Map<String,String>statusMessage()A message which details the Linux subscriptions service settings current status.GetServiceSettingsResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.LicenseManagerLinuxSubscriptionsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
hasHomeRegions
public final boolean hasHomeRegions()
For responses, this returns true if the service returned a value for the HomeRegions 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.
-
homeRegions
public final List<String> homeRegions()
The Region in which License Manager displays the aggregated data for Linux subscriptions.
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
hasHomeRegions()method.- Returns:
- The Region in which License Manager displays the aggregated data for Linux subscriptions.
-
linuxSubscriptionsDiscovery
public final LinuxSubscriptionsDiscovery linuxSubscriptionsDiscovery()
Lists if discovery has been enabled for Linux subscriptions.
If the service returns an enum value that is not available in the current SDK version,
linuxSubscriptionsDiscoverywill returnLinuxSubscriptionsDiscovery.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlinuxSubscriptionsDiscoveryAsString().- Returns:
- Lists if discovery has been enabled for Linux subscriptions.
- See Also:
LinuxSubscriptionsDiscovery
-
linuxSubscriptionsDiscoveryAsString
public final String linuxSubscriptionsDiscoveryAsString()
Lists if discovery has been enabled for Linux subscriptions.
If the service returns an enum value that is not available in the current SDK version,
linuxSubscriptionsDiscoverywill returnLinuxSubscriptionsDiscovery.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlinuxSubscriptionsDiscoveryAsString().- Returns:
- Lists if discovery has been enabled for Linux subscriptions.
- See Also:
LinuxSubscriptionsDiscovery
-
linuxSubscriptionsDiscoverySettings
public final LinuxSubscriptionsDiscoverySettings linuxSubscriptionsDiscoverySettings()
Lists the settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.
- Returns:
- Lists the settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.
-
status
public final Status status()
Indicates the status of Linux subscriptions settings being applied.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates the status of Linux subscriptions settings being applied.
- See Also:
Status
-
statusAsString
public final String statusAsString()
Indicates the status of Linux subscriptions settings being applied.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates the status of Linux subscriptions settings being applied.
- See Also:
Status
-
hasStatusMessage
public final boolean hasStatusMessage()
For responses, this returns true if the service returned a value for the StatusMessage 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.
-
statusMessage
public final Map<String,String> statusMessage()
A message which details the Linux subscriptions service settings current status.
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
hasStatusMessage()method.- Returns:
- A message which details the Linux subscriptions service settings current status.
-
toBuilder
public GetServiceSettingsResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetServiceSettingsResponse.Builder,GetServiceSettingsResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetServiceSettingsResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetServiceSettingsResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-