public static class AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder extends Object
Modifier and Type | Method and Description |
---|---|
AwsEc2AuthenticationOptions |
build()
Builds a new
AwsEc2AuthenticationOptions instance. |
AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder |
identityDocumentUri(URI identityDocumentUri)
Configures the Identity Document
URI . |
AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder |
path(String path)
Configures the mount path.
|
AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder |
role(String role)
Configures the name of the role against which the login is being attempted.If role is not specified, then the
login endpoint looks for a role bearing the name of the AMI ID of the EC2 instance that is trying to login.
|
public AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder path(String path)
path
- must not be empty or null.this
AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder
.public AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder identityDocumentUri(URI identityDocumentUri)
URI
.identityDocumentUri
- must not be empty or null.this
AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder
.AwsEc2AuthenticationOptions.DEFAULT_PKCS7_IDENTITY_DOCUMENT_URI
public AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder role(String role)
role
- may be empty or null.this
AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder
.public AwsEc2AuthenticationOptions build()
AwsEc2AuthenticationOptions
instance.AppIdAuthenticationOptions
.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.