Interface DescribeStackResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<DescribeStackResourcesRequest.Builder,,DescribeStackResourcesRequest> SdkBuilder<DescribeStackResourcesRequest.Builder,,DescribeStackResourcesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeStackResourcesRequest
-
Method Summary
Modifier and TypeMethodDescriptionlogicalResourceId(String logicalResourceId) The logical name of the resource as specified in the template.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.physicalResourceId(String physicalResourceId) The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
stackName
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Required: Conditional. If you don't specify
StackName, you must specifyPhysicalResourceId.- Parameters:
stackName- The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Required: Conditional. If you don't specify
StackName, you must specifyPhysicalResourceId.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
logicalResourceId
The logical name of the resource as specified in the template.
Default: There is no default value.
- Parameters:
logicalResourceId- The logical name of the resource as specified in the template.Default: There is no default value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalResourceId
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
For example, for an Amazon Elastic Compute Cloud (EC2) instance,
PhysicalResourceIdcorresponds to theInstanceId. You can pass the EC2InstanceIdtoDescribeStackResourcesto find which stack the instance belongs to and what other resources are part of the stack.Required: Conditional. If you don't specify
PhysicalResourceId, you must specifyStackName.Default: There is no default value.
- Parameters:
physicalResourceId- The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.For example, for an Amazon Elastic Compute Cloud (EC2) instance,
PhysicalResourceIdcorresponds to theInstanceId. You can pass the EC2InstanceIdtoDescribeStackResourcesto find which stack the instance belongs to and what other resources are part of the stack.Required: Conditional. If you don't specify
PhysicalResourceId, you must specifyStackName.Default: There is no default value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeStackResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeStackResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-