Interface CreateProjectRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>,LookoutVisionRequest.Builder,SdkBuilder<CreateProjectRequest.Builder,CreateProjectRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateProjectRequest
public static interface CreateProjectRequest.Builder extends LookoutVisionRequest.Builder, SdkPojo, CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateProjectRequest.BuilderclientToken(String clientToken)ClientToken is an idempotency token that ensures a call toCreateProjectcompletes only once.CreateProjectRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateProjectRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateProjectRequest.BuilderprojectName(String projectName)The name for the project.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
projectName
CreateProjectRequest.Builder projectName(String projectName)
The name for the project.
- Parameters:
projectName- The name for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateProjectRequest.Builder clientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
CreateProjectcompletes only once. You choose the value to pass. For example, An issue might prevent you from getting a response fromCreateProject. In this case, safely retry your call toCreateProjectby using the sameClientTokenparameter value.If you don't supply a value for
ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple project creation requests. You'll need to provide your own value for other use cases.An error occurs if the other input parameters are not the same as in the first request. Using a different value for
ClientTokenis considered a new call toCreateProject. An idempotency token is active for 8 hours.- Parameters:
clientToken- ClientToken is an idempotency token that ensures a call toCreateProjectcompletes only once. You choose the value to pass. For example, An issue might prevent you from getting a response fromCreateProject. In this case, safely retry your call toCreateProjectby using the sameClientTokenparameter value.If you don't supply a value for
ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple project creation requests. You'll need to provide your own value for other use cases.An error occurs if the other input parameters are not the same as in the first request. Using a different value for
ClientTokenis considered a new call toCreateProject. An idempotency token is active for 8 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-