Class GetBundlesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lightsail.model.LightsailRequest
-
- software.amazon.awssdk.services.lightsail.model.GetBundlesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBundlesRequest.Builder,GetBundlesRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetBundlesRequest extends LightsailRequest implements ToCopyableBuilder<GetBundlesRequest.Builder,GetBundlesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetBundlesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppCategoryappCategory()Returns a list of bundles that are specific to Lightsail for Research.StringappCategoryAsString()Returns a list of bundles that are specific to Lightsail for Research.static GetBundlesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeInactive()A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.StringpageToken()The token to advance to the next page of results from your request.List<SdkField<?>>sdkFields()static Class<? extends GetBundlesRequest.Builder>serializableBuilderClass()GetBundlesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
includeInactive
public final Boolean includeInactive()
A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.
- Returns:
- A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.
-
pageToken
public final String pageToken()
The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetBundlesrequest. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.- Returns:
- The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetBundlesrequest. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
-
appCategory
public final AppCategory appCategory()
Returns a list of bundles that are specific to Lightsail for Research.
You must use this parameter to view Lightsail for Research bundles.
If the service returns an enum value that is not available in the current SDK version,
appCategorywill returnAppCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappCategoryAsString().- Returns:
- Returns a list of bundles that are specific to Lightsail for Research.
You must use this parameter to view Lightsail for Research bundles.
- See Also:
AppCategory
-
appCategoryAsString
public final String appCategoryAsString()
Returns a list of bundles that are specific to Lightsail for Research.
You must use this parameter to view Lightsail for Research bundles.
If the service returns an enum value that is not available in the current SDK version,
appCategorywill returnAppCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappCategoryAsString().- Returns:
- Returns a list of bundles that are specific to Lightsail for Research.
You must use this parameter to view Lightsail for Research bundles.
- See Also:
AppCategory
-
toBuilder
public GetBundlesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBundlesRequest.Builder,GetBundlesRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static GetBundlesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetBundlesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-