Interface ServiceAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.666Z")
@Stability(Stable)
public interface ServiceAttributes
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicediscovery.*;
INamespace namespace;
ServiceAttributes serviceAttributes = ServiceAttributes.builder()
.dnsRecordType(DnsRecordType.A)
.namespace(namespace)
.routingPolicy(RoutingPolicy.WEIGHTED)
.serviceArn("serviceArn")
.serviceId("serviceId")
.serviceName("serviceName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forServiceAttributesstatic final classAn implementation forServiceAttributes -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDnsRecordType
-
getNamespace
-
getRoutingPolicy
-
getServiceArn
-
getServiceId
-
getServiceName
-
builder
- Returns:
- a
ServiceAttributes.BuilderofServiceAttributes
-