Package com.pulumi.aws.apigateway.inputs
Class MethodSettingsState.Builder
- java.lang.Object
-
- com.pulumi.aws.apigateway.inputs.MethodSettingsState.Builder
-
- Enclosing class:
- MethodSettingsState
public static final class MethodSettingsState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MethodSettingsState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodSettingsStatebuild()MethodSettingsState.BuildermethodPath(com.pulumi.core.Output<java.lang.String> methodPath)MethodSettingsState.BuildermethodPath(java.lang.String methodPath)MethodSettingsState.Builderregion(com.pulumi.core.Output<java.lang.String> region)MethodSettingsState.Builderregion(java.lang.String region)MethodSettingsState.BuilderrestApi(com.pulumi.core.Output<java.lang.String> restApi)MethodSettingsState.BuilderrestApi(java.lang.String restApi)MethodSettingsState.Buildersettings(MethodSettingsSettingsArgs settings)MethodSettingsState.Buildersettings(com.pulumi.core.Output<MethodSettingsSettingsArgs> settings)MethodSettingsState.BuilderstageName(com.pulumi.core.Output<java.lang.String> stageName)MethodSettingsState.BuilderstageName(java.lang.String stageName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MethodSettingsState defaults)
-
-
Method Detail
-
methodPath
public MethodSettingsState.Builder methodPath(@Nullable com.pulumi.core.Output<java.lang.String> methodPath)
- Parameters:
methodPath- Method path defined as `{resource_path}/{http_method}` for an individual method override, or `*/*` for overriding all methods in the stage. Ensure to trim any leading forward slashes in the path (e.g., `trimprefix(aws_api_gateway_resource.example.path, "/")`).- Returns:
- builder
-
methodPath
public MethodSettingsState.Builder methodPath(java.lang.String methodPath)
- Parameters:
methodPath- Method path defined as `{resource_path}/{http_method}` for an individual method override, or `*/*` for overriding all methods in the stage. Ensure to trim any leading forward slashes in the path (e.g., `trimprefix(aws_api_gateway_resource.example.path, "/")`).- Returns:
- builder
-
region
public MethodSettingsState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public MethodSettingsState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
restApi
public MethodSettingsState.Builder restApi(@Nullable com.pulumi.core.Output<java.lang.String> restApi)
- Parameters:
restApi- ID of the REST API- Returns:
- builder
-
restApi
public MethodSettingsState.Builder restApi(java.lang.String restApi)
- Parameters:
restApi- ID of the REST API- Returns:
- builder
-
settings
public MethodSettingsState.Builder settings(@Nullable com.pulumi.core.Output<MethodSettingsSettingsArgs> settings)
- Parameters:
settings- Settings block, see below.- Returns:
- builder
-
settings
public MethodSettingsState.Builder settings(MethodSettingsSettingsArgs settings)
- Parameters:
settings- Settings block, see below.- Returns:
- builder
-
stageName
public MethodSettingsState.Builder stageName(@Nullable com.pulumi.core.Output<java.lang.String> stageName)
- Parameters:
stageName- Name of the stage- Returns:
- builder
-
stageName
public MethodSettingsState.Builder stageName(java.lang.String stageName)
- Parameters:
stageName- Name of the stage- Returns:
- builder
-
build
public MethodSettingsState build()
-
-