Interface GetBucketAccessKeysResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketAccessKeysResponse.Builder,GetBucketAccessKeysResponse>,LightsailResponse.Builder,SdkBuilder<GetBucketAccessKeysResponse.Builder,GetBucketAccessKeysResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBucketAccessKeysResponse
public static interface GetBucketAccessKeysResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetBucketAccessKeysResponse.Builder,GetBucketAccessKeysResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBucketAccessKeysResponse.BuilderaccessKeys(Collection<AccessKey> accessKeys)An object that describes the access keys for the specified bucket.GetBucketAccessKeysResponse.BuilderaccessKeys(Consumer<AccessKey.Builder>... accessKeys)An object that describes the access keys for the specified bucket.GetBucketAccessKeysResponse.BuilderaccessKeys(AccessKey... accessKeys)An object that describes the access keys for the specified bucket.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
accessKeys
GetBucketAccessKeysResponse.Builder accessKeys(Collection<AccessKey> accessKeys)
An object that describes the access keys for the specified bucket.
- Parameters:
accessKeys- An object that describes the access keys for the specified bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeys
GetBucketAccessKeysResponse.Builder accessKeys(AccessKey... accessKeys)
An object that describes the access keys for the specified bucket.
- Parameters:
accessKeys- An object that describes the access keys for the specified bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeys
GetBucketAccessKeysResponse.Builder accessKeys(Consumer<AccessKey.Builder>... accessKeys)
An object that describes the access keys for the specified bucket.
This is a convenience method that creates an instance of theAccessKey.Builderavoiding the need to create one manually viaAccessKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessKeys(List.) - Parameters:
accessKeys- a consumer that will call methods onAccessKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accessKeys(java.util.Collection)
-
-