public static class AmazonProfileId.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
AmazonProfileId |
build()
Converts the builder to an instance.
|
AmazonProfileId.Builder |
id(java.lang.String id)
Sets the string identifier to be resolved under the associated namespace.
|
AmazonProfileId.Builder |
namespace(java.lang.String namespace)
Sets the namespace for the ID.
|
public AmazonProfileId.Builder id(java.lang.String id)
id
- String identifier.public AmazonProfileId.Builder namespace(java.lang.String namespace)
AmazonProfileId
for accepted values. This field is
always required.namespace
- namespace the ID should be resolved under.public AmazonProfileId build() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if data is missing required fields or fails basic data validation.