@Generated(value="software.amazon.awssdk:codegen") public final class GetBucketsRequest extends LightsailRequest implements ToCopyableBuilder<GetBucketsRequest.Builder,GetBucketsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBucketsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucketName()
The name of the bucket for which to return information.
|
static GetBucketsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
includeConnectedResources()
A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using
the
SetResourceAccessForBucket action.
|
String |
pageToken()
The token to advance to the next page of results from your request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBucketsRequest.Builder> |
serializableBuilderClass() |
GetBucketsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucketName()
The name of the bucket for which to return information.
When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.
When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.
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 GetBuckets request. 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.
To get a page token, perform an initial GetBuckets request. 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.
public final Boolean includeConnectedResources()
A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.
public GetBucketsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBucketsRequest.Builder,GetBucketsRequest>toBuilder in class LightsailRequestpublic static GetBucketsRequest.Builder builder()
public static Class<? extends GetBucketsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.