public static interface DescribeChapCredentialsResponse.Builder extends StorageGatewayResponse.Builder, CopyableBuilder<DescribeChapCredentialsResponse.Builder,DescribeChapCredentialsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeChapCredentialsResponse.Builder |
chapCredentials(ChapInfo... chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
DescribeChapCredentialsResponse.Builder |
chapCredentials(Collection<ChapInfo> chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
DescribeChapCredentialsResponse.Builder |
chapCredentials(Consumer<ChapInfo.Builder>... chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeChapCredentialsResponse.Builder chapCredentials(Collection<ChapInfo> chapCredentials)
An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
chapCredentials
- An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains
CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty
array is returned. CHAP credential information is provided in a JSON object with the following
fields:
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
DescribeChapCredentialsResponse.Builder chapCredentials(ChapInfo... chapCredentials)
An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
chapCredentials
- An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains
CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty
array is returned. CHAP credential information is provided in a JSON object with the following
fields:
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
DescribeChapCredentialsResponse.Builder chapCredentials(Consumer<ChapInfo.Builder>... chapCredentials)
An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #chapCredentials(List)
.chapCredentials
- a consumer that will call methods on List.Builder
#chapCredentials(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.