@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:56.519Z") @Stability(value=Experimental) public interface ServiceAttributes extends software.amazon.jsii.JsiiSerializable
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ServiceAttributes.Builder
A builder for
ServiceAttributes |
static class |
ServiceAttributes.Jsii$Proxy
An implementation for
ServiceAttributes |
| Modifier and Type | Method and Description |
|---|---|
static ServiceAttributes.Builder |
builder() |
DnsRecordType |
getDnsRecordType() |
INamespace |
getNamespace() |
RoutingPolicy |
getRoutingPolicy() |
String |
getServiceArn() |
String |
getServiceId() |
String |
getServiceName() |
@Stability(value=Experimental) @NotNull DnsRecordType getDnsRecordType()
@Stability(value=Experimental) @NotNull INamespace getNamespace()
@Stability(value=Experimental) @NotNull RoutingPolicy getRoutingPolicy()
@Stability(value=Experimental) @NotNull String getServiceArn()
@Stability(value=Experimental) @NotNull String getServiceId()
@Stability(value=Experimental) @NotNull String getServiceName()
@Stability(value=Experimental) static ServiceAttributes.Builder builder()
ServiceAttributes.Builder of ServiceAttributesCopyright © 2022. All rights reserved.