Class ServiceProfileReference.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.ServiceProfileReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceProfileReference>
- Enclosing interface:
ServiceProfileReference
@Stability(Stable)
public static final class ServiceProfileReference.Builder
extends Object
implements software.amazon.jsii.Builder<ServiceProfileReference>
A builder for
ServiceProfileReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.serviceProfileArn
(String serviceProfileArn) Sets the value ofServiceProfileReference.getServiceProfileArn()
serviceProfileId
(String serviceProfileId) Sets the value ofServiceProfileReference.getServiceProfileId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceProfileArn
@Stability(Stable) public ServiceProfileReference.Builder serviceProfileArn(String serviceProfileArn) Sets the value ofServiceProfileReference.getServiceProfileArn()
- Parameters:
serviceProfileArn
- The ARN of the ServiceProfile resource. This parameter is required.- Returns:
this
-
serviceProfileId
Sets the value ofServiceProfileReference.getServiceProfileId()
- Parameters:
serviceProfileId
- The Id of the ServiceProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ServiceProfileReference>
- Returns:
- a new instance of
ServiceProfileReference
- Throws:
NullPointerException
- if any required attribute was not provided
-