CopyableBuilder<DescribeChapCredentialsResponse.Builder,DescribeChapCredentialsResponse>
, SdkBuilder<DescribeChapCredentialsResponse.Builder,DescribeChapCredentialsResponse>
public static interface DescribeChapCredentialsResponse.Builder extends CopyableBuilder<DescribeChapCredentialsResponse.Builder,DescribeChapCredentialsResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeChapCredentialsResponse.Builder |
chapCredentials(Collection<ChapInfo> chapCredentials) |
An array of ChapInfo objects that represent CHAP credentials.
|
DescribeChapCredentialsResponse.Builder |
chapCredentials(ChapInfo... chapCredentials) |
An array of ChapInfo objects that represent CHAP credentials.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setChapCredentials(java.util.Collection)
or #withChapCredentials(java.util.Collection)
if
you want to override the existing values.
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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.