Table of Contents

Class DiscoveryEndpointBase

Namespace
Amazon.Runtime.Internal
Assembly
AWSSDK.Core.dll

Class containing the data for one endpoint returned from a endpoint discovery request

This class is only intended for internal use inside the AWS client libraries. Callers shouldn't ever interact directly with objects of this class.

public abstract class DiscoveryEndpointBase
Inheritance
DiscoveryEndpointBase
Derived
Inherited Members

Constructors

DiscoveryEndpointBase(string, long)

Constructs a new DiscoveryEndpoint

protected DiscoveryEndpointBase(string address, long cachePeriodInMinutes)

Parameters

address string

The address of the endpoint

cachePeriodInMinutes long

The cache period for the endpoint in minutes

Properties

Address

The address of the endpoint.

public string Address { get; protected set; }

Property Value

string

CachePeriodInMinutes

The cache period for the endpoint in minutes

public long CachePeriodInMinutes { get; protected set; }

Property Value

long

Methods

ExtendExpiration(long)

Extends the endpoint expiration by the specified number of minutes from now.

public void ExtendExpiration(long minutes)

Parameters

minutes long

HasExpired()

Calculates if this endpoint has expired

public bool HasExpired()

Returns

bool

A boolean value indicating if the cache period has expired